Merge "Use raw string for regex"
This commit is contained in:
commit
b21efb5f7a
|
@ -181,7 +181,7 @@ class _ReplaceFalseValue(dict):
|
|||
return dict.get(self, key, None) or '-'
|
||||
|
||||
|
||||
_MSG_KEY_REGEX = re.compile('(%+)\((\w+)\)')
|
||||
_MSG_KEY_REGEX = re.compile(r'(%+)\((\w+)\)')
|
||||
|
||||
|
||||
class JSONFormatter(logging.Formatter):
|
||||
|
|
Loading…
Reference in New Issue