We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df08a9 commit 5bfb220Copy full SHA for 5bfb220
scripts/merge-py.py
@@ -98,7 +98,10 @@ def run_cmd(cmd):
98
if cmd is None:
99
cmd = popenargs[0]
100
raise subprocess.CalledProcessError(retcode, cmd, output=output)
101
- return six.text_type(output)
+
102
+ if isinstance(output, six.binary_type):
103
+ output = output.decode('utf-8')
104
+ return output
105
106
107
def continue_maybe(prompt):
@@ -123,6 +126,7 @@ def clean_up():
123
126
124
127
# merge the requested PR and return the merge hash
125
128
def merge_pr(pr_num, target_ref):
129
130
pr_branch_name = "%s_MERGE_PR_%s" % (BRANCH_PREFIX, pr_num)
131
target_branch_name = "%s_MERGE_PR_%s_%s" % (BRANCH_PREFIX, pr_num,
132
target_ref.upper())
0 commit comments