diff -r 374066392929 -r eacf81fad150 Debugger/ExceptionLogger.py --- a/Debugger/ExceptionLogger.py Sun Jul 25 17:08:39 2010 +0200 +++ b/Debugger/ExceptionLogger.py Mon Jul 26 15:45:23 2010 +0200 @@ -101,14 +101,14 @@ return if exceptionMessage == '': - itm.setText(0, "%s" % exceptionType) + itm.setText(0, "{0}".format(exceptionType)) else: - itm.setText(0, "%s, %s" % (exceptionType, exceptionMessage)) + itm.setText(0, "{0}, {1}".format(exceptionType, exceptionMessage)) # now add the call stack, most recent call first for fn, ln in stackTrace: excitm = QTreeWidgetItem(itm) - excitm.setText(0, "%s, %d" % (fn, ln)) + excitm.setText(0, "{0}, {1:d}".format(fn, ln)) def debuggingStarted(self): """ @@ -136,4 +136,4 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage") \ No newline at end of file + e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage")