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:
parent
37909a0e81
commit
9a145cf0d0
@ -26,7 +26,7 @@ import datetime
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
IGNORE_LINES = re.compile('(set \+o|xtrace)')
|
IGNORE_LINES = re.compile(r'(set \+o|xtrace)')
|
||||||
|
|
||||||
|
|
||||||
def get_options():
|
def get_options():
|
||||||
|
Loading…
Reference in New Issue
Block a user