projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9760737
)
Python 2/3 compat: unichr vs chr
author
Serge Guelton
<sguelton@redhat.com>
Mon, 25 Mar 2019 15:12:48 +0000
(15:12 +0000)
committer
Serge Guelton
<sguelton@redhat.com>
Mon, 25 Mar 2019 15:12:48 +0000
(15:12 +0000)
llvm-svn: 356904
lldb/examples/summaries/cocoa/CFString.py
patch
|
blob
|
history
diff --git
a/lldb/examples/summaries/cocoa/CFString.py
b/lldb/examples/summaries/cocoa/CFString.py
index
2743702
..
955d17f
100644
(file)
--- a/
lldb/examples/summaries/cocoa/CFString.py
+++ b/
lldb/examples/summaries/cocoa/CFString.py
@@
-11,6
+11,10
@@
import lldb
import lldb.runtime.objc.objc_runtime
import lldb.formatters.Logger
+try:
+ unichr
+except NameError:
+ unichr = chr
def CFString_SummaryProvider(valobj, dict):
logger = lldb.formatters.Logger.Logger()