serge-sans-paille created this revision.
serge-sans-paille added a reviewer: michaelplatings.
Herald added subscribers: lldb-commits, jdoerfert.
Herald added a project: LLDB.

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D59583

Files:
  lldb/examples/python/crashlog.py


Index: lldb/examples/python/crashlog.py
===================================================================
--- lldb/examples/python/crashlog.py
+++ lldb/examples/python/crashlog.py
@@ -284,7 +284,7 @@
                     try:
                         plist_root = plistlib.readPlistFromString(s)
                     except:
-                        print(("Got exception: ", sys.exc_value, " handling 
dsymForUUID output: \n", s)) 
+                        print(("Got exception: ", sys.exc_info()[1], " 
handling dsymForUUID output: \n", s))
                         raise
                     if plist_root:
                         plist = plist_root[uuid_str]


Index: lldb/examples/python/crashlog.py
===================================================================
--- lldb/examples/python/crashlog.py
+++ lldb/examples/python/crashlog.py
@@ -284,7 +284,7 @@
                     try:
                         plist_root = plistlib.readPlistFromString(s)
                     except:
-                        print(("Got exception: ", sys.exc_value, " handling dsymForUUID output: \n", s)) 
+                        print(("Got exception: ", sys.exc_info()[1], " handling dsymForUUID output: \n", s))
                         raise
                     if plist_root:
                         plist = plist_root[uuid_str]
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] [PATCH] D59583... serge via Phabricator via lldb-commits

Reply via email to