Merge "Use raw string for regex"

This commit is contained in:
Zuul 2019-05-04 01:27:39 +00:00 committed by Gerrit Code Review
commit b21efb5f7a
1 changed files with 1 additions and 1 deletions

View File

@ -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):