mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
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
This commit is contained in:
parent
91f011ab0d
commit
23bd3a1dd3
@ -83,8 +83,8 @@ change id will be added.
|
|||||||
else:
|
else:
|
||||||
print('NOTE: When committing (please see above) and editing the commit'
|
print('NOTE: When committing (please see above) and editing the commit'
|
||||||
'message, please remove the old Change-Id-line and add:')
|
'message, please remove the old Change-Id-line and add:')
|
||||||
print(self._GetReference(sha1), file=stderr)
|
print(self._GetReference(sha1), file=sys.stderr)
|
||||||
print(file=stderr)
|
print(file=sys.stderr)
|
||||||
|
|
||||||
def _IsChangeId(self, line):
|
def _IsChangeId(self, line):
|
||||||
return CHANGE_ID_RE.match(line)
|
return CHANGE_ID_RE.match(line)
|
||||||
|
Loading…
Reference in New Issue
Block a user