summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/utilsDebug.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/utilsDebug.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/utilsDebug.py')
-rw-r--r--lldb/scripts/utilsDebug.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/scripts/utilsDebug.py b/lldb/scripts/utilsDebug.py
index 2cf98f947eb..34889e9cefd 100644
--- a/lldb/scripts/utilsDebug.py
+++ b/lldb/scripts/utilsDebug.py
@@ -69,8 +69,8 @@ class CDebugFnVerbose:
def dump_text( self, vstrText ):
if CDebugFnVerbose.bVerboseOn == False:
return;
- print("%d%s> Dp: %s" % (CDebugFnVerbose.__nLevel, self.__get_dots(),
- vstrText));
+ print(("%d%s> Dp: %s" % (CDebugFnVerbose.__nLevel, self.__get_dots(),
+ vstrText)));
# Private methods:
def __init__( self, vstrFnName ):
@@ -100,8 +100,8 @@ class CDebugFnVerbose:
#--
def __indent_back( self ):
if CDebugFnVerbose.bVerboseOn:
- print("%d%s< fn: %s" % (CDebugFnVerbose.__nLevel, self.__get_dots(),
- self.__strFnName));
+ print(("%d%s< fn: %s" % (CDebugFnVerbose.__nLevel, self.__get_dots(),
+ self.__strFnName)));
CDebugFnVerbose.__nLevel -= 1;
#++------------------------------------------------------------------------
@@ -116,8 +116,8 @@ class CDebugFnVerbose:
CDebugFnVerbose.__nLevel += 1;
self.__strFnName = vstrFnName;
if CDebugFnVerbose.bVerboseOn:
- print("%d%s> fn: %s" % ( CDebugFnVerbose.__nLevel, self.__get_dots(),
- self.__strFnName));
+ print(("%d%s> fn: %s" % ( CDebugFnVerbose.__nLevel, self.__get_dots(),
+ self.__strFnName)));
# Private statics attributes:
__nLevel = 0; # Indentation level counter
OpenPOWER on IntegriCloud