Debugger/CallTraceViewer.py

changeset 3021
801289962f4e
parent 3020
542e97d4ecb3
child 3032
927a2f8b3669
child 3058
0a02c433f52d
--- a/Debugger/CallTraceViewer.py	Mon Oct 14 19:30:36 2013 +0200
+++ b/Debugger/CallTraceViewer.py	Mon Oct 14 20:08:19 2013 +0200
@@ -151,7 +151,8 @@
                             call = "->"
                         else:
                             call = "<-"
-                        f.write("{0} {1} || {2}\n".format(call,
+                        f.write("{0} {1} || {2}\n".format(
+                            call,
                             itm.text(1), itm.text(2)))
                         itm = self.callTrace.itemBelow(itm)
                     f.close()
@@ -229,9 +230,11 @@
             fromFile = self.__project.getRelativePath(fromFile)
             toFile = self.__project.getRelativePath(toFile)
         
-        itm = QTreeWidgetItem(parentItem, ["",
-            self.__entryFormat.format(fromFile, fromLine, fromFunction),
-            self.__entryFormat.format(toFile, toLine, toFunction)])
+        itm = QTreeWidgetItem(
+            parentItem,
+            ["",
+             self.__entryFormat.format(fromFile, fromLine, fromFunction),
+             self.__entryFormat.format(toFile, toLine, toFunction)])
         itm.setIcon(0, icon)
         itm.setData(0, Qt.UserRole, isCall)
         itm.setExpanded(True)

eric ide

mercurial