Fixed some code style issues.

Sun, 01 Jan 2017 18:13:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Jan 2017 18:13:13 +0100
changeset 5395
56efc13e456e
parent 5394
b2c6179184f6
child 5396
8d8940307e44

Fixed some code style issues.

PluginManager/PluginManager.py file | annotate | diff | comparison | revisions
PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/ApplicationPage.py file | annotate | diff | comparison | revisions
Project/Project.py file | annotate | diff | comparison | revisions
eric6.py file | annotate | diff | comparison | revisions
--- a/PluginManager/PluginManager.py	Sun Jan 01 18:09:48 2017 +0100
+++ b/PluginManager/PluginManager.py	Sun Jan 01 18:13:13 2017 +0100
@@ -1257,7 +1257,7 @@
         if version.count(".") >= 3:
             # cope for extended version numbers by ignoring
             # the extension
-            checkVersion = ".".join(version.split(".",3)[:3])
+            checkVersion = ".".join(version.split(".", 3)[:3])
         else:
             checkVersion = version
         if pluginDetails["version"] < checkVersion:
--- a/PluginManager/PluginRepositoryDialog.py	Sun Jan 01 18:09:48 2017 +0100
+++ b/PluginManager/PluginRepositoryDialog.py	Sun Jan 01 18:13:13 2017 +0100
@@ -648,7 +648,7 @@
                 if version.count(".") >= 3:
                     # cope for extended version numbers by ignoring
                     # the extension
-                    version = ".".join(version.split(".",3)[:3])
+                    version = ".".join(version.split(".", 3)[:3])
                 if pluginDetails["version"] < version:
                     return PluginRepositoryWidget.PluginStatusLocalUpdate
             
--- a/Preferences/ConfigurationPages/ApplicationPage.py	Sun Jan 01 18:09:48 2017 +0100
+++ b/Preferences/ConfigurationPages/ApplicationPage.py	Sun Jan 01 18:13:13 2017 +0100
@@ -96,7 +96,7 @@
             openOnStartup = 4
         Preferences.setUI("OpenOnStartup", openOnStartup)
         Preferences.setUI("OpenCrashSessionOnStartup",
-            self.openCrashSessionCheckBox.isChecked())
+                          self.openCrashSessionCheckBox.isChecked())
         
         if self.noCheckRadioButton.isChecked():
             period = 0
--- a/Project/Project.py	Sun Jan 01 18:09:48 2017 +0100
+++ b/Project/Project.py	Sun Jan 01 18:13:13 2017 +0100
@@ -4945,7 +4945,7 @@
             
             lines = names.splitlines()
             archiveName = ""
-            archiveVersion=""
+            archiveVersion = ""
             names = []
             for line in lines:
                 if line.startswith(";"):
--- a/eric6.py	Sun Jan 01 18:09:48 2017 +0100
+++ b/eric6.py	Sun Jan 01 18:13:13 2017 +0100
@@ -310,7 +310,7 @@
     pluginFile = None
     noopen = False
     nocrash = False
-    disablecrash=False
+    disablecrash = False
     if "--no-open" in sys.argv and sys.argv.index("--no-open") < ddindex:
         del sys.argv[sys.argv.index("--no-open")]
         noopen = True

eric ide

mercurial