diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-03 08:30:21 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-03 08:30:21 +0000 |
commit | f025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9 (patch) | |
tree | 7e619f6fe75391b500edabc720c62eb5b9ef1372 /tools/trove-pylint.py | |
parent | 31e7e68aa931ffc5999c2415ab26422688010f03 (diff) | |
parent | 4860f523d45df502e2d1005df3db4121c7795fe0 (diff) | |
download | trove-f025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9.tar.gz |
Merge "Fix invalid escape sequence warnings"
Diffstat (limited to 'tools/trove-pylint.py')
-rwxr-xr-x | tools/trove-pylint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/trove-pylint.py b/tools/trove-pylint.py index 75cea908..d30d65a1 100755 --- a/tools/trove-pylint.py +++ b/tools/trove-pylint.py @@ -206,7 +206,8 @@ class LintRunner(object): def __init__(self): self.config = Config() self.idline = re.compile("^[*]* Module .*") - self.detail = re.compile("(\S+):(\d+): \[(\S+)\((\S+)\), (\S+)?] (.*)") + self.detail = re.compile(r"(\S+):(\d+): \[(\S+)\((\S+)\)," + r" (\S+)?] (.*)") def dolint(self, filename): exceptions = set() |