QScintilla/Exporters/__init__.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1509
c0b5e693b0eb
--- a/QScintilla/Exporters/__init__.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/Exporters/__init__.py	Fri Mar 11 16:51:57 2011 +0100
@@ -9,6 +9,7 @@
 
 from PyQt4.QtGui import QApplication
 
+
 def getSupportedFormats():
     """
     Module function to get a dictionary of supported exporters.
@@ -18,15 +19,16 @@
         for the exporters (string)
     """
     supportedFormats = {
-        "HTML" : QApplication.translate('Exporters', "HTML"), 
-        "RTF"  : QApplication.translate('Exporters', "RTF"), 
-        "PDF"  : QApplication.translate('Exporters', "PDF"), 
-        "TeX"  : QApplication.translate('Exporters', "TeX"), 
-        "ODT"  : QApplication.translate('Exporters', "ODT"), 
+        "HTML": QApplication.translate('Exporters', "HTML"),
+        "RTF": QApplication.translate('Exporters', "RTF"),
+        "PDF": QApplication.translate('Exporters', "PDF"),
+        "TeX": QApplication.translate('Exporters', "TeX"),
+        "ODT": QApplication.translate('Exporters', "ODT"),
     }
     
     return supportedFormats
 
+
 def getExporter(format, editor):
     """
     Module function to instantiate an exporter object for a given format.

eric ide

mercurial