Removed the outdated check for the correct eric version. release-5.0.5

Sun, 23 Apr 2017 17:20:35 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Apr 2017 17:20:35 +0200
changeset 100
6de07bdc8f13
parent 99
60cd02cc8945
child 101
6e39332e4a36

Removed the outdated check for the correct eric version.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectDjango.py file | annotate | diff | comparison | revisions
PluginProjectDjango.zip file | annotate | diff | comparison | revisions
diff -r 60cd02cc8945 -r 6de07bdc8f13 ChangeLog
--- a/ChangeLog	Thu Apr 20 18:46:30 2017 +0200
+++ b/ChangeLog	Sun Apr 23 17:20:35 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.0.5:
+- bug fixes
+
 Version 5.0.4:
 - bug fixes
 
diff -r 60cd02cc8945 -r 6de07bdc8f13 PluginProjectDjango.py
--- a/PluginProjectDjango.py	Thu Apr 20 18:46:30 2017 +0200
+++ b/PluginProjectDjango.py	Sun Apr 23 17:20:35 2017 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.0.4"
+version = "5.0.5"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
@@ -79,15 +79,12 @@
     
     @return dictionary containing the relevant data
     """
-    if e5App().getObject("UserInterface").versionIsNewer('5.0.99', '20120101'):
-        return {
-            "djangoPage": [
-                QCoreApplication.translate("ProjectDjangoPlugin", "Django"),
-                os.path.join("ProjectDjango", "icons", "django.png"),
-                createDjangoPage, None, None],
-        }
-    else:
-        return {}
+    return {
+        "djangoPage": [
+            QCoreApplication.translate("ProjectDjangoPlugin", "Django"),
+            os.path.join("ProjectDjango", "icons", "django.png"),
+            createDjangoPage, None, None],
+    }
 
 
 def prepareUninstall():
diff -r 60cd02cc8945 -r 6de07bdc8f13 PluginProjectDjango.zip
Binary file PluginProjectDjango.zip has changed

eric ide

mercurial