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/utilsDebug.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lldb/scripts/utilsDebug.py') 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 -- cgit v1.2.3