Show More
@@ -161,6 +161,10 b" def should_backport(labels=None, milestone=None, project='ipython/ipython'):" | |||||
161 |
|
161 | |||
162 | if __name__ == '__main__': |
|
162 | if __name__ == '__main__': | |
163 | project = 'ipython/ipython' |
|
163 | project = 'ipython/ipython' | |
|
164 | ||||
|
165 | print("DEPRECATE: backport_pr.py is deprecated and is is now recommended" | |||
|
166 | "to install `ghpro` from PyPI.", file=sys.stderr) | |||
|
167 | ||||
164 | args = list(sys.argv) |
|
168 | args = list(sys.argv) | |
165 | if len(args) >= 2: |
|
169 | if len(args) >= 2: | |
166 | if '/' in args[1]: |
|
170 | if '/' in args[1]: |
@@ -110,6 +110,10 b' def report(issues, show_urls=False):' | |||||
110 | #----------------------------------------------------------------------------- |
|
110 | #----------------------------------------------------------------------------- | |
111 |
|
111 | |||
112 | if __name__ == "__main__": |
|
112 | if __name__ == "__main__": | |
|
113 | ||||
|
114 | print("DEPRECATE: backport_pr.py is deprecated and is is now recommended" | |||
|
115 | "to install `ghpro` from PyPI.", file=sys.stderr) | |||
|
116 | ||||
113 | # deal with unicode |
|
117 | # deal with unicode | |
114 | if sys.version_info < (3,): |
|
118 | if sys.version_info < (3,): | |
115 | sys.stdout = codecs.getwriter('utf8')(sys.stdout) |
|
119 | sys.stdout = codecs.getwriter('utf8')(sys.stdout) |
General Comments 0
You need to be logged in to leave comments.
Login now