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

Unified Diff: git_try.py

Issue 8895022: Still send try job status even if test filter is used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years 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 | trychange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_try.py
diff --git a/git_try.py b/git_try.py
index 97f86dda5811e7a79133c2d125476c8688f00d36..a36a19f245434846b8abadc949f72b518ce2869c 100755
--- a/git_try.py
+++ b/git_try.py
@@ -19,7 +19,7 @@ import git_cl
def GetRietveldIssueNumber():
try:
return GIT.Capture(
- ['config', 'branch.%s.rietveldissue' % GIT.GetBranch(None)])
+ ['config', 'branch.%s.rietveldissue' % GIT.GetBranch(None)]).strip()
except subprocess2.CalledProcessError:
return None
@@ -27,7 +27,7 @@ def GetRietveldIssueNumber():
def GetRietveldPatchsetNumber():
try:
return GIT.Capture(
- ['config', 'branch.%s.rietveldpatchset' % GIT.GetBranch(None)])
+ ['config', 'branch.%s.rietveldpatchset' % GIT.GetBranch(None)]).strip()
except subprocess2.CalledProcessError:
return None
« no previous file with comments | « no previous file | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698