summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-03-06 23:50:36 +0000
committerDavide Italiano <davide@freebsd.org>2019-03-06 23:50:36 +0000
commit9a8e777f8c394e4903180b9f51fe7e649ebbf121 (patch)
tree1aaac8b54ed79d8abe4b6b8b51c1098e7f5566f5 /lldb/examples/python
parent2d6e6cbacc720d23100edbb4e48dacbe792259c7 (diff)
downloadbcm5719-llvm-9a8e777f8c394e4903180b9f51fe7e649ebbf121.tar.gz
bcm5719-llvm-9a8e777f8c394e4903180b9f51fe7e649ebbf121.zip
[Python] Unbreak the recently modified tests for python 2.
llvm-svn: 355566
Diffstat (limited to 'lldb/examples/python')
-rwxr-xr-xlldb/examples/python/crashlog.py1
-rwxr-xr-xlldb/examples/python/symbolication.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index 146c2a6a7ea..09ce6100911 100755
--- a/lldb/examples/python/crashlog.py
+++ b/lldb/examples/python/crashlog.py
@@ -26,6 +26,7 @@
# PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash
#----------------------------------------------------------------------
+from __future__ import print_function
import cmd
import datetime
import glob
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py
index 141dd7aa374..dac9305d269 100755
--- a/lldb/examples/python/symbolication.py
+++ b/lldb/examples/python/symbolication.py
@@ -26,6 +26,7 @@
# PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash
#----------------------------------------------------------------------
+from __future__ import print_function
import lldb
import optparse
import os
OpenPOWER on IntegriCloud