Stop regex warning

python 3.6 warns about regexes like:
DeprecationWarning: invalid escape sequence \+

I noticed that debugging a trove job and it really led me in the wrong
way. Fix this with making it a raw string.

Change-Id: I58ee1a49d62316c6c3f0588832c97f659f7e460b
This commit is contained in:
Andreas Jaeger 2019-08-08 15:31:52 +02:00
parent 37909a0e81
commit 9a145cf0d0

View File

@ -26,7 +26,7 @@ import datetime
import re
import sys
IGNORE_LINES = re.compile('(set \+o|xtrace)')
IGNORE_LINES = re.compile(r'(set \+o|xtrace)')
def get_options():