[PATCH] D55201: Python2/3 compat - repr

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 3 12:16:04 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348182: Portable Python script across Python version (authored by serge_sans_paille, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D55201?vs=176342&id=176450#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55201/new/

https://reviews.llvm.org/D55201

Files:
  cfe/trunk/tools/scan-view/share/ScanView.py


Index: cfe/trunk/tools/scan-view/share/ScanView.py
===================================================================
--- cfe/trunk/tools/scan-view/share/ScanView.py
+++ cfe/trunk/tools/scan-view/share/ScanView.py
@@ -544,7 +544,7 @@
 """%(r.getName(),display,r.getName(),options))
         reporterSelections = '\n'.join(reporterSelections)
         reporterOptionsDivs = '\n'.join(reporterOptions)
-        reportersArray = '[%s]'%(','.join([`r.getName()` for r in self.server.reporters]))
+        reportersArray = '[%s]'%(','.join([repr(r.getName()) for r in self.server.reporters]))
 
         if c.files:
             fieldSize = min(5, len(c.files))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55201.176450.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181203/2dbd9b6b/attachment-0001.bin>


More information about the llvm-commits mailing list