summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/git-pbchk.py
diff options
context:
space:
mode:
authorDillon Amburgey <dillona@dillona.com>2017-04-10 16:23:27 -0400
committerDan McDonald <danmcd@omniti.com>2017-04-15 00:32:40 -0400
commit709afb1d71ef74fa30368e4c94ddec10eeaf890a (patch)
tree6dc1f2af20d167f2756ad4a57634b36e3eb52b2c /usr/src/tools/scripts/git-pbchk.py
parentf2f489c1d1fcefdd10545976e55fd8405f621a92 (diff)
downloadillumos-gate-709afb1d71ef74fa30368e4c94ddec10eeaf890a.tar.gz
8054 git-pbchk error is broken when git is not installed
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/tools/scripts/git-pbchk.py')
-rw-r--r--usr/src/tools/scripts/git-pbchk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/tools/scripts/git-pbchk.py b/usr/src/tools/scripts/git-pbchk.py
index f271e28dde..fea1aa4b2e 100644
--- a/usr/src/tools/scripts/git-pbchk.py
+++ b/usr/src/tools/scripts/git-pbchk.py
@@ -73,7 +73,7 @@ def git(command):
stdout=tmpfile,
stderr=subprocess.PIPE)
except OSError, e:
- raise GitError("could not execute %s: %s\n" (command, e))
+ raise GitError("could not execute %s: %s\n" % (command, e))
err = p.wait()
if err != 0: