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 | |
parent | 31e7e68aa931ffc5999c2415ab26422688010f03 (diff) | |
parent | 4860f523d45df502e2d1005df3db4121c7795fe0 (diff) | |
download | trove-f025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9.tar.gz |
Merge "Fix invalid escape sequence warnings"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install_venv.py | 2 | ||||
-rwxr-xr-x | tools/trove-pylint.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index f5331071..eee9e720 100755 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -79,7 +79,7 @@ def check_dependencies(): print('Installing virtualenv via easy_install...'), if not (run_command(['which', 'easy_install']) and run_command(['easy_install', 'virtualenv'])): - die('ERROR: virtualenv not found.\n\Trove development' + die('ERROR: virtualenv not found.\nTrove development' ' requires virtualenv, please install it using your' ' favorite package management tool') print('done.') 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() |