Debugger/CallStackViewer.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3021
801289962f4e
child 3060
5883ce99ee12
--- a/Debugger/CallStackViewer.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Debugger/CallStackViewer.py	Fri Nov 01 15:48:48 2013 +0100
@@ -115,12 +115,13 @@
                 dfname = fname
             if ffunc and not ffunc.startswith("<"):
                 # use normal format
-                itm = QTreeWidgetItem(self,
+                itm = QTreeWidgetItem(
+                    self,
                     [self.__entryFormat.format(dfname, fline, ffunc, fargs)])
             else:
                 # use short format
-                itm = QTreeWidgetItem(self,
-                    [self.__entryFormatShort.format(dfname, fline)])
+                itm = QTreeWidgetItem(
+                    self, [self.__entryFormatShort.format(dfname, fline)])
             itm.setData(0, self.FilenameRole, fname)
             itm.setData(0, self.LinenoRole, fline)
         
@@ -168,7 +169,8 @@
                     if ex:
                         fname += ex
                 if QFileInfo(fname).exists():
-                    res = E5MessageBox.yesNo(self,
+                    res = E5MessageBox.yesNo(
+                        self,
                         self.trUtf8("Save Call Stack Info"),
                         self.trUtf8("<p>The file <b>{0}</b> already exists."
                                     " Overwrite it?</p>").format(fname),
@@ -186,7 +188,8 @@
                         itm = self.itemBelow(itm)
                     f.close()
                 except IOError as err:
-                    E5MessageBox.critical(self,
+                    E5MessageBox.critical(
+                        self,
                         self.trUtf8("Error saving Call Stack Info"),
                         self.trUtf8("""<p>The call stack info could not be"""
                                     """ written to <b>{0}</b></p>"""

eric ide

mercurial