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

Sun, 23 Apr 2017 17:23:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Apr 2017 17:23:08 +0200
changeset 110
15cfc3c1dd1b
parent 109
ecda8c0ab281
child 111
762e2c36bb88

Removed the outdated check for the correct eric version.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectPyramid.py file | annotate | diff | comparison | revisions
PluginProjectPyramid.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Thu Apr 20 18:45:58 2017 +0200
+++ b/ChangeLog	Sun Apr 23 17:23:08 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.3.5:
+- bug fixes
+
 Version 2.3.4:
 - bug fixes
 
--- a/PluginProjectPyramid.py	Thu Apr 20 18:45:58 2017 +0200
+++ b/PluginProjectPyramid.py	Sun Apr 23 17:23:08 2017 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.3.4"
+version = "2.3.5"
 className = "ProjectPyramidPlugin"
 packageName = "ProjectPyramid"
 shortDescription = "Project support for Pyramid projects."
@@ -63,15 +63,12 @@
     
     @return dictionary containing the relevant data
     """
-    if e5App().getObject("UserInterface").versionIsNewer('5.0.99', '20120101'):
-        return {
-            "pyramidPage": [
-                QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"),
-                os.path.join("ProjectPyramid", "icons", "pyramid.png"),
-                createPyramidPage, None, None],
-        }
-    else:
-        return {}
+    return {
+        "pyramidPage": [
+            QCoreApplication.translate("ProjectPyramidPlugin", "Pyramid"),
+            os.path.join("ProjectPyramid", "icons", "pyramid.png"),
+            createPyramidPage, None, None],
+    }
 
 
 def apiFiles(language):
Binary file PluginProjectPyramid.zip has changed

eric ide

mercurial