[PATCH] D70902: Fix compatibility with python3 of clang-include-fixer.py
Benjamin Kramer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 04:04:43 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGaa189ed25fbd: Fix compatibility with python3 of clang-include-fixer.py (authored by Yannick Brehon <yannickb at google.com>, committed by bkramer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70902/new/
https://reviews.llvm.org/D70902
Files:
clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py
Index: clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py
===================================================================
--- clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py
+++ clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py
@@ -211,7 +211,7 @@
InsertHeaderToVimBuffer(include_fixer_context, text)
print("Added #include {0} for {1}.".format(selected, symbol))
except Exception as error:
- print(error.message, file=sys.stderr)
+ print(error, file=sys.stderr)
return
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70902.231864.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191203/08b14102/attachment.bin>
More information about the cfe-commits
mailing list