Removed the (obsolete) version check. release-5.0.4

Thu, 20 Apr 2017 18:43:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 20 Apr 2017 18:43:10 +0200
changeset 98
1db4d12fda93
parent 97
44e0911dff44
child 99
60cd02cc8945

Removed the (obsolete) version check.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectDjango.py file | annotate | diff | comparison | revisions
PluginProjectDjango.zip file | annotate | diff | comparison | revisions
ProjectDjango/Documentation/source/Plugin_Project_Django.PluginProjectDjango.html file | annotate | diff | comparison | revisions
--- a/ChangeLog	Tue Mar 28 19:24:34 2017 +0200
+++ b/ChangeLog	Thu Apr 20 18:43:10 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.0.4:
+- bug fixes
+
 Version 5.0.3:
 - bug fixes
 
--- a/PluginProjectDjango.py	Tue Mar 28 19:24:34 2017 +0200
+++ b/PluginProjectDjango.py	Thu Apr 20 18:43:10 2017 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.0.3"
+version = "5.0.4"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
@@ -164,32 +164,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 djangoPluginObject
         djangoPluginObject = self
         
Binary file PluginProjectDjango.zip has changed
--- a/ProjectDjango/Documentation/source/Plugin_Project_Django.PluginProjectDjango.html	Tue Mar 28 19:24:34 2017 +0200
+++ b/ProjectDjango/Documentation/source/Plugin_Project_Django.PluginProjectDjango.html	Thu Apr 20 18:43:10 2017 +0200
@@ -72,9 +72,6 @@
 <td><a href="#ProjectDjangoPlugin.__init__">ProjectDjangoPlugin</a></td>
 <td>Constructor</td>
 </tr><tr>
-<td><a href="#ProjectDjangoPlugin.__checkVersions">__checkVersions</a></td>
-<td>Private function to check that the eric6 version is ok.</td>
-</tr><tr>
 <td><a href="#ProjectDjangoPlugin.__initialize">__initialize</a></td>
 <td>Private slot to (re)initialize the plugin.</td>
 </tr><tr>
@@ -132,16 +129,6 @@
 <dd>
 reference to the user interface object (UI.UserInterface)
 </dd>
-</dl><a NAME="ProjectDjangoPlugin.__checkVersions" ID="ProjectDjangoPlugin.__checkVersions"></a>
-<h4>ProjectDjangoPlugin.__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="ProjectDjangoPlugin.__initialize" ID="ProjectDjangoPlugin.__initialize"></a>
 <h4>ProjectDjangoPlugin.__initialize</h4>
 <b>__initialize</b>(<i></i>)

eric ide

mercurial