[PATCH] D79326: [clang-format] ensure dump_format_style.py works with Python3 correctly
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 7 11:56:50 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3125aa99593d: [clang-format] ensure dump_format_style.py works with Python3 correctly (authored by MyDeveloperDay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79326/new/
https://reviews.llvm.org/D79326
Files:
clang/docs/tools/dump_format_style.py
Index: clang/docs/tools/dump_format_style.py
===================================================================
--- clang/docs/tools/dump_format_style.py
+++ clang/docs/tools/dump_format_style.py
@@ -225,4 +225,4 @@
contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
with open(DOC_FILE, 'wb') as output:
- output.write(contents)
+ output.write(contents.encode())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79326.262717.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200507/26fc7da3/attachment.bin>
More information about the cfe-commits
mailing list