From 1756e05688a933c91732b21f1edf8ab9dcb8540d Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 19 Oct 2015 23:45:25 +0000 Subject: 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 --- lldb/scripts/Python/buildSwigPython.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/scripts/Python/buildSwigPython.py') 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, -- cgit v1.2.3