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
This commit is contained in:
Zachary Turner
2015-10-19 23:45:25 +00:00
parent 0b98b27677
commit 1756e05688
6 changed files with 36 additions and 36 deletions

View File

@@ -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,