summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-03 08:30:21 +0000
committerGerrit Code Review <review@openstack.org>2018-07-03 08:30:21 +0000
commitf025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9 (patch)
tree7e619f6fe75391b500edabc720c62eb5b9ef1372 /tools
parent31e7e68aa931ffc5999c2415ab26422688010f03 (diff)
parent4860f523d45df502e2d1005df3db4121c7795fe0 (diff)
downloadtrove-f025cf78d0e227cbcc8baec3a2d39a61ac4ac6c9.tar.gz
Merge "Fix invalid escape sequence warnings"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install_venv.py2
-rwxr-xr-xtools/trove-pylint.py3
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()