PluginProjectDjango.py

changeset 6
80815349eef4
parent 4
81c2943be6b6
child 9
8fe581309106
--- a/PluginProjectDjango.py	Sun Mar 24 15:29:37 2013 +0100
+++ b/PluginProjectDjango.py	Sun Mar 24 15:35:23 2013 +0100
@@ -100,8 +100,8 @@
     PreferencesKey = "Django"
     
     lexerAssociations = {
-        "*.html" : "Pygments|HTML+Django/Jinja", 
-        "*.htm"  : "Pygments|HTML+Django/Jinja", 
+        "*.html": "Pygments|HTML+Django/Jinja",
+        "*.htm": "Pygments|HTML+Django/Jinja",
     }
     
     def __init__(self, ui):
@@ -115,10 +115,10 @@
         self.__initialize()
         
         self.__defaults = {
-            "ServerAddress"  : "", 
+            "ServerAddress": "",
             
-            "RecentNumberApps" : 10, 
-            "UsePlainPython" : False,
+            "RecentNumberApps": 10,
+            "UsePlainPython": False,
             "UseIPv6": False,
         }
         if isWindowsPlatform():
@@ -296,8 +296,8 @@
         """
         if self.__e5project.getProjectType() == "Django":
             fileTypes = {
-                "*.html" : "FORMS", 
-                "*.htm"  : "FORMS", 
+                "*.html": "FORMS",
+                "*.htm": "FORMS",
                 "*.js": "SOURCES",
                 "*.pot": "TRANSLATIONS",
                 "*.po": "TRANSLATIONS",

eric ide

mercurial