summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-08-26 12:05:34 +0200
committerThibault Saunier <thibault.saunier@osg.samsung.com>2016-09-17 10:09:26 -0300
commitcee90a8d2876b52d347d617627c7771f6247c923 (patch)
treef45afc2f18d817074d3c6c5c5a03a9b3f38194fc
parente9d35eccd77e36b0f8a296727292bf3897f269ee (diff)
fix 'arc lint' call
We are using check_call() which does not return anything. This bug is a leftover from the check_output() -> check_call() change as the former does return the output of the command. Reviewed-by: Thibault Saunier <tsaunier@gnome.org> Differential Revision: https://phabricator.freedesktop.org/D1287
-rwxr-xr-xgit-phab2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-phab b/git-phab
index 07fc1c6..ce901fc 100755
--- a/git-phab
+++ b/git-phab
@@ -749,7 +749,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri)
749 if not os.path.exists(".pre-commit-config.yaml"): 749 if not os.path.exists(".pre-commit-config.yaml"):
750 if os.path.exists(".arclint"): 750 if os.path.exists(".arclint"):
751 subprocess.check_call("arc lint --never-apply-patches", 751 subprocess.check_call("arc lint --never-apply-patches",
752 shell=True).decode("utf-8") 752 shell=True)
753 return None 753 return None
754 else: 754 else:
755 return None 755 return None