Show More
@@ -70,18 +70,10 b" def backport_pr(branch, num, project='ipython/ipython'):" | |||
|
70 | 70 | |
|
71 | 71 | filenames = [ f['filename'] for f in files ] |
|
72 | 72 | |
|
73 |
|
|
|
74 | add.wait() | |
|
75 | if add.returncode: | |
|
76 | print("add failed!") | |
|
77 | return 1 | |
|
73 | check_call(['git', 'add'] + filenames) | |
|
74 | ||
|
75 | check_call(['git', 'commit', '-m', msg]) | |
|
78 | 76 | |
|
79 | commit = Popen(['git', 'commit', '-m', msg]) | |
|
80 | commit.wait() | |
|
81 | if commit.returncode: | |
|
82 | print("commit failed!") | |
|
83 | return 1 | |
|
84 | else: | |
|
85 | 77 |
|
|
86 | 78 |
|
|
87 | 79 |
|
General Comments 0
You need to be logged in to leave comments.
Login now