PluginProjectPyramid.py

changeset 108
0ba128760f1e
parent 106
2086bda4a893
child 110
15cfc3c1dd1b
--- a/PluginProjectPyramid.py	Tue Mar 28 19:30:45 2017 +0200
+++ b/PluginProjectPyramid.py	Thu Apr 20 18:45:49 2017 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.3.3"
+version = "2.3.4"
 className = "ProjectPyramidPlugin"
 packageName = "ProjectPyramid"
 shortDescription = "Project support for Pyramid projects."
@@ -155,33 +155,12 @@
         
         self.__supportedVariants = []
     
-    def __checkVersions(self):
-        """
-        Private function to check that the eric6 version is ok.
-        
-        @return flag indicating version is ok (boolean)
-        """
-        global error
-        
-        if self.__ui.versionIsNewer('5.99.99', '20140701'):
-            error = ""
-        else:
-            error = self.tr(
-                "eric6 version is too old, {0}, {1} or newer needed.")\
-                .format("6.0.0", "20140701")
-            return False
-        
-        return True
-    
     def activate(self):
         """
         Public method to activate this plugin.
         
         @return tuple of None and activation status (boolean)
         """
-        if not self.__checkVersions():
-            return None, False
-        
         global pyramidPluginObject
         pyramidPluginObject = self
         

eric ide

mercurial