Preferences/__init__.py

branch
Py2 comp.
changeset 3065
070b35dde35e
parent 3060
5883ce99ee12
child 3080
6c0a430b19df
diff -r 1c0ea3a87390 -r 070b35dde35e Preferences/__init__.py
--- a/Preferences/__init__.py	Sun Nov 03 16:23:07 2013 +0100
+++ b/Preferences/__init__.py	Tue Nov 05 22:23:38 2013 +0100
@@ -1103,7 +1103,7 @@
     QCoreApplication.setApplicationName(settingsNameGlobal)
     
     # Avoid nasty behavior of QSettings in combination with Py2
-    Prefs.settings.value("UI/SingleApplicationMode")    
+    Prefs.settings.value("UI/SingleApplicationMode")
     
 
 def syncPreferences(prefClass=Prefs):
@@ -1262,7 +1262,8 @@
                             "Select Python{0} Interpreter").format(pyVersion),
                         QCoreApplication.translate(
                             "Preferences",
-                            "Select the Python{0} interpreter to be used:").format(pyVersion),
+                            "Select the Python{0} interpreter to be used:")
+                        .format(pyVersion),
                         interpreters,
                         0, False)
                     if ok and selection != "":
@@ -1474,7 +1475,8 @@
             else:
                 # use the defaults
                 viewProfiles = prefClass.uiDefaults["ViewProfiles2"]
-        # Remove unused setting in Python 2. Otherwise Eric 5.3 would get problems
+        # Remove unused setting in Python 2. Otherwise Eric 5.3
+        # would get problems
         if sys.version_info[0] == 2:
             prefClass.settings.remove("UI/ViewProfiles")
         return viewProfiles

eric ide

mercurial