Show More
@@ -60,7 +60,7 b" def backport_pr(branch, num, project='ipython/ipython'):" | |||
|
60 | 60 | files = get_pull_request_files(project, num, auth=True) |
|
61 | 61 | patch_url = pr['patch_url'] |
|
62 | 62 | title = pr['title'] |
|
63 | description = pr['body'] | |
|
63 | description = pr['body'] or '' | |
|
64 | 64 | fname = "PR%i.patch" % num |
|
65 | 65 | if os.path.exists(fname): |
|
66 | 66 | print("using patch from {fname}".format(**locals())) |
@@ -92,6 +92,7 b" def backport_pr(branch, num, project='ipython/ipython'):" | |||
|
92 | 92 | a,b = p.communicate(patch) |
|
93 | 93 | |
|
94 | 94 | filenames = [ f['filename'] for f in files ] |
|
95 | filenames = [ f.replace('jupyter_notebook', 'IPython/html') for f in filenames ] | |
|
95 | 96 | |
|
96 | 97 | check_call(['git', 'add'] + filenames) |
|
97 | 98 |
General Comments 0
You need to be logged in to leave comments.
Login now