bug 1367329 - fix error handling code in mozversioncontrol. r=gps
authorTed Mielczarek <ted@mielczarek.org>
Thu, 22 Jun 2017 12:54:25 -0400
changeset 365846 77038889d2a8e3104d0a218be03782c9b39205d4
parent 365845 96d2dfbdc8d27c8aa6b6c1ae8d8a63fee75128e4
child 365847 9cc878c45ffb35a7f426c5cb3574802763fdb97c
push id32089
push usercbook@mozilla.com
push dateMon, 26 Jun 2017 11:24:06 +0000
treeherdermozilla-central@42593af5ec7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1367329
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1367329 - fix error handling code in mozversioncontrol. r=gps MozReview-Commit-ID: Bu5FA9PhxJY
python/mozversioncontrol/mozversioncontrol/__init__.py
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
@@ -21,18 +21,18 @@ def get_tool_path(tool):
     try:
         return which.which(tool + '.exe')
     except which.WhichError:
         try:
             return which.which(tool)
         except which.WhichError as e:
             print(e)
 
-    raise Exception('Unable to obtain %s path. Try running ' +
-                    '|mach bootstrap| to ensure your environment is up to ' +
+    raise Exception('Unable to obtain %s path. Try running '
+                    '|mach bootstrap| to ensure your environment is up to '
                     'date.' % tool)
 
 class Repository(object):
     '''A class wrapping utility methods around version control repositories.'''
     def __init__(self, path, tool):
         self.path = os.path.abspath(path)
         self._tool = get_tool_path(tool)
         self._env = os.environ.copy()