summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2013-02-12 13:46:14 -0800
committerConley Owens <cco3@android.com>2013-02-12 13:46:14 -0800
commit23bd3a1dd309c8c5727832b7543298584bf53de8 (patch)
tree6cfc76f7d4818309acde2283078746e2b96cd9c3 /subcmds
parent91f011ab0df9e1aa215e39b424c9ce2614bae50e (diff)
downloadgit-repo-23bd3a1dd309c8c5727832b7543298584bf53de8.tar.gz
Add missing sys module when referencing stderr
`repo cherry-pick` was broken because we were referencing stderr instead of sys.stderr. This should fix it. Change-Id: I67f25c3a0790d029edc65732c319df7c684546c8
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/cherry_pick.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py
index 0cefec13..01b97e07 100644
--- a/subcmds/cherry_pick.py
+++ b/subcmds/cherry_pick.py
@@ -83,8 +83,8 @@ change id will be added.
83 else: 83 else:
84 print('NOTE: When committing (please see above) and editing the commit' 84 print('NOTE: When committing (please see above) and editing the commit'
85 'message, please remove the old Change-Id-line and add:') 85 'message, please remove the old Change-Id-line and add:')
86 print(self._GetReference(sha1), file=stderr) 86 print(self._GetReference(sha1), file=sys.stderr)
87 print(file=stderr) 87 print(file=sys.stderr)
88 88
89 def _IsChangeId(self, line): 89 def _IsChangeId(self, line):
90 return CHANGE_ID_RE.match(line) 90 return CHANGE_ID_RE.match(line)