diff options
author | Conley Owens <cco3@android.com> | 2013-02-12 13:46:14 -0800 |
---|---|---|
committer | Conley Owens <cco3@android.com> | 2013-02-12 13:46:14 -0800 |
commit | 23bd3a1dd309c8c5727832b7543298584bf53de8 (patch) | |
tree | 6cfc76f7d4818309acde2283078746e2b96cd9c3 | |
parent | 91f011ab0df9e1aa215e39b424c9ce2614bae50e (diff) | |
download | git-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
-rw-r--r-- | subcmds/cherry_pick.py | 4 |
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) |