PluginManager/PluginRepositoryDialog.py

changeset 5588
6ba512d9f46a
parent 5395
56efc13e456e
child 5739
a870f5f03baa
--- a/PluginManager/PluginRepositoryDialog.py	Tue Mar 07 18:53:18 2017 +0100
+++ b/PluginManager/PluginRepositoryDialog.py	Tue Mar 07 19:46:57 2017 +0100
@@ -630,12 +630,12 @@
         if not zipfile.is_zipfile(archive):
             return PluginRepositoryWidget.PluginStatusRemoteUpdate
         
-        zip = zipfile.ZipFile(archive, "r")
+        zipFile = zipfile.ZipFile(archive, "r")
         try:
-            aversion = zip.read("VERSION").decode("utf-8")
+            aversion = zipFile.read("VERSION").decode("utf-8")
         except KeyError:
             aversion = ""
-        zip.close()
+        zipFile.close()
         
         if aversion == version:
             if not self.__external:

eric ide

mercurial