Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: scm.py

Issue 555198: Always return a tuple from GIT.Capture (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scm.py
diff --git a/scm.py b/scm.py
index a772497044e96533aa321d503cc9592ea1412c3a..143d82f071369955ff278ae534aceff0f2e77d0f 100644
--- a/scm.py
+++ b/scm.py
@@ -60,7 +60,7 @@ class GIT(object):
return gclient_utils.CheckCall(c, in_directory, print_error)
except gclient_utils.CheckCallError:
if error_ok:
- return ''
+ return ('', '')
raise
@staticmethod
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698