QScintilla/Printer.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 QScintilla/Printer.py
--- a/QScintilla/Printer.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/Printer.py	Fri Mar 11 16:51:57 2011 +0100
@@ -13,11 +13,12 @@
 
 import Preferences
 
+
 class Printer(QsciPrinter):
-    """ 
+    """
     Class implementing the QextScintillaPrinter with a header.
     """
-    def __init__(self, mode = QPrinter.ScreenResolution):
+    def __init__(self, mode=QPrinter.ScreenResolution):
         """
         Constructor
         
@@ -50,7 +51,7 @@
         """
         fn = self.docName()
         
-        header = QApplication.translate('Printer', 
+        header = QApplication.translate('Printer',
                                         '{0} - Printed on {1}, {2} - Page {3}')\
             .format(fn, self.date, self.time, pagenr)
         

eric ide

mercurial