summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/buildSwigPython.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-19 23:45:25 +0000
committerZachary Turner <zturner@google.com>2015-10-19 23:45:25 +0000
commit1756e05688a933c91732b21f1edf8ab9dcb8540d (patch)
tree8d9033344ffcfa8f97ab5fe4f4ab572441b0c065 /lldb/scripts/Python/buildSwigPython.py
parent0b98b27677b0325e5133344407a13410b3cf1423 (diff)
downloadbcm5719-llvm-1756e05688a933c91732b21f1edf8ab9dcb8540d.tar.gz
bcm5719-llvm-1756e05688a933c91732b21f1edf8ab9dcb8540d.zip
Run py2to3 on lldb/scripts folder.
This mostly fixes some print statements, but there were also some instances of dict.iteritems() lingering that this found. llvm-svn: 250762
Diffstat (limited to 'lldb/scripts/Python/buildSwigPython.py')
-rw-r--r--lldb/scripts/Python/buildSwigPython.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/scripts/Python/buildSwigPython.py b/lldb/scripts/Python/buildSwigPython.py
index 4b59af867f6..59c73591510 100644
--- a/lldb/scripts/Python/buildSwigPython.py
+++ b/lldb/scripts/Python/buildSwigPython.py
@@ -256,7 +256,7 @@ def check_file_exists( vDictArgs, vstrFileNamePath ):
if os.path.exists( vstrFileNamePath ):
bExists = True;
elif bDebug:
- print(strMsgFileNotExist % vstrFileNamePath);
+ print((strMsgFileNotExist % vstrFileNamePath));
return bExists;
@@ -368,7 +368,7 @@ def get_framework_python_dir_other_platforms( vDictArgs ):
strWkDir += "/LLDB.framework";
if os.path.exists( strWkDir ):
if bDbg:
- print(strMsgFoundLldbFrameWkDir % strWkDir);
+ print((strMsgFoundLldbFrameWkDir % strWkDir));
strWkDir += "/Resources/Python/lldb";
strWkDir = os.path.normcase( strWkDir );
else:
@@ -502,7 +502,7 @@ def do_swig_rebuild( vDictArgs, vstrSwigDepFile, vstrCfgBldDir,
strCmd += "-o \"%s\" " % strOp;
strCmd += "\"%s\" " % strIp;
if bDbg:
- print(strMsgSwigExecute % strCmd);
+ print((strMsgSwigExecute % strCmd));
# Execute SWIG
process = subprocess.Popen( strCmd, stdout=subprocess.PIPE,
OpenPOWER on IntegriCloud