Removed the (obsolete) version check. release-2.3.4

Thu, 20 Apr 2017 18:45:49 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 20 Apr 2017 18:45:49 +0200
changeset 108
0ba128760f1e
parent 107
5aefe7d54dc2
child 109
ecda8c0ab281

Removed the (obsolete) version check.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectPyramid.py file | annotate | diff | comparison | revisions
PluginProjectPyramid.zip file | annotate | diff | comparison | revisions
ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html file | annotate | diff | comparison | revisions
--- a/ChangeLog	Tue Mar 28 19:30:45 2017 +0200
+++ b/ChangeLog	Thu Apr 20 18:45:49 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.3.4:
+- bug fixes
+
 Version 2.3.3:
 - bug fixes
 
--- 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
         
Binary file PluginProjectPyramid.zip has changed
--- a/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html	Tue Mar 28 19:30:45 2017 +0200
+++ b/ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.PluginProjectPyramid.html	Thu Apr 20 18:45:49 2017 +0200
@@ -72,9 +72,6 @@
 <td><a href="#ProjectPyramidPlugin.__init__">ProjectPyramidPlugin</a></td>
 <td>Constructor</td>
 </tr><tr>
-<td><a href="#ProjectPyramidPlugin.__checkVersions">__checkVersions</a></td>
-<td>Private function to check that the eric6 version is ok.</td>
-</tr><tr>
 <td><a href="#ProjectPyramidPlugin.__initialize">__initialize</a></td>
 <td>Private slot to (re)initialize the plugin.</td>
 </tr><tr>
@@ -135,16 +132,6 @@
 <dd>
 reference to the user interface object (UI.UserInterface)
 </dd>
-</dl><a NAME="ProjectPyramidPlugin.__checkVersions" ID="ProjectPyramidPlugin.__checkVersions"></a>
-<h4>ProjectPyramidPlugin.__checkVersions</h4>
-<b>__checkVersions</b>(<i></i>)
-<p>
-        Private function to check that the eric6 version is ok.
-</p><dl>
-<dt>Returns:</dt>
-<dd>
-flag indicating version is ok (boolean)
-</dd>
 </dl><a NAME="ProjectPyramidPlugin.__initialize" ID="ProjectPyramidPlugin.__initialize"></a>
 <h4>ProjectPyramidPlugin.__initialize</h4>
 <b>__initialize</b>(<i></i>)

eric ide

mercurial