UI/LogView.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/UI/LogView.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/UI/LogView.py	Fri Mar 11 16:51:57 2011 +0100
@@ -15,11 +15,12 @@
 import UI.PixmapCache
 import Preferences
 
+
 class LogViewer(QTextEdit):
     """
     Class providing a specialized text edit for displaying logging information.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -57,7 +58,7 @@
         coord = self.mapToGlobal(coord)
         self.__menu.popup(coord)
         
-    def __appendText(self, txt, error = False):
+    def __appendText(self, txt, error=False):
         """
         Public method to append text to the end.
         
@@ -80,7 +81,7 @@
         
         @param txt text to be appended (string)
         """
-        self.__appendText(txt, error = False)
+        self.__appendText(txt, error=False)
         QApplication.processEvents()
         
     def appendToStderr(self, txt):
@@ -89,7 +90,7 @@
         
         @param txt text to be appended (string)
         """
-        self.__appendText(txt, error = True)
+        self.__appendText(txt, error=True)
         QApplication.processEvents()
         
     def preferencesChanged(self):

eric ide

mercurial