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 6d3740b commit 3314ab1Copy full SHA for 3314ab1
scripts/merge-pr.py
@@ -297,11 +297,17 @@ def fix_version_from_branch(branch, versions):
297
continue_maybe(msg)
298
299
print("\n=== Pull Request #%s ===" % pr_num)
300
+
301
+# we may have un-printable unicode in our title
302
+try:
303
+ title = title.encode('raw_unicode_escape')
304
+except Exception:
305
+ pass
306
307
print("title\t{title}\nsource\t{source}\ntarget\t{target}\nurl\t{url}".format(
308
title=title, source=pr_repo_desc, target=target_ref, url=url))
309
310
-
311
merged_refs = [target_ref]
312
313
print("\nProceed with updating or merging pull request #%s?" % pr_num)
0 commit comments