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

Sun, 23 Apr 2017 17:40:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Apr 2017 17:40:27 +0200
changeset 44
fd83cf39e27d
parent 43
a92674b29114
child 45
50e76ee460a3

Removed the outdated check for the correct eric version.

ChangeLog file | annotate | diff | comparison | revisions
PluginPrintRemover.py file | annotate | diff | comparison | revisions
PluginPrintRemover.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Thu Mar 30 19:27:14 2017 +0200
+++ b/ChangeLog	Sun Apr 23 17:40:27 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.1.2:
+- bug fixes
+
 Version 2.1.1:
 - bug fixes
 
--- a/PluginPrintRemover.py	Thu Mar 30 19:27:14 2017 +0200
+++ b/PluginPrintRemover.py	Sun Apr 23 17:40:27 2017 +0200
@@ -23,7 +23,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.1.1"
+version = "2.1.2"
 className = "PrintRemoverPlugin"
 packageName = "PrintRemover"
 shortDescription = "Remove print() like debug statements."
@@ -63,16 +63,13 @@
     
     @return dictionary containing the relevant data
     """
-    if e5App().getObject("UserInterface").versionIsNewer('5.2.99', '20121012'):
-        return {
-            "printRemoverPage": [
-                QCoreApplication.translate("PrintRemoverPlugin",
-                                           "Print Remover"),
-                os.path.join("PrintRemover", "icons", "printRemover.png"),
-                createPrintRemoverPage, None, None],
-        }
-    else:
-        return {}
+    return {
+        "printRemoverPage": [
+            QCoreApplication.translate("PrintRemoverPlugin",
+                                       "Print Remover"),
+            os.path.join("PrintRemover", "icons", "printRemover.png"),
+            createPrintRemoverPage, None, None],
+    }
 
 
 def prepareUninstall():
Binary file PluginPrintRemover.zip has changed

eric ide

mercurial