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

Unified Diff: buildbot/prebuilt.py

Issue 6882070: Fix trailing characters in commit (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Created 9 years, 8 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: buildbot/prebuilt.py
diff --git a/buildbot/prebuilt.py b/buildbot/prebuilt.py
index 8838b50f2e69ec45acdd90529890f84cc2899f3c..23180e0786d8753715c06794ce09235ff8fdcfbc 100755
--- a/buildbot/prebuilt.py
+++ b/buildbot/prebuilt.py
@@ -169,7 +169,7 @@ def RevGitFile(filename, value, retries=5, key='PORTAGE_BINHOST'):
os.chdir(os.path.dirname(filename))
commit = cros_build_lib.RunCommand(['git', 'rev-parse', 'HEAD'],
- redirect_stdout=True).output
+ redirect_stdout=True).output.rstrip()
cros_build_lib.RunCommand(['git', 'remote', 'update'])
cros_build_lib.RunCommand(['repo', 'start', prebuilt_branch, '.'])
git_ssh_config_cmd = [
« 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