Fixed a serious bug related to the queue module being called Queue in Python 2. release-1.0.5

Sun, 09 Apr 2017 17:17:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Apr 2017 17:17:43 +0200
changeset 49
7b55dc5d09d2
parent 48
2d174b0a1b83
child 50
ae07d4efb120

Fixed a serious bug related to the queue module being called Queue in Python 2.

ChangeLog file | annotate | diff | comparison | revisions
PluginVulture.py file | annotate | diff | comparison | revisions
PluginVulture.zip file | annotate | diff | comparison | revisions
VultureChecker/VultureCheckerService.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Fri Mar 31 17:59:40 2017 +0200
+++ b/ChangeLog	Sun Apr 09 17:17:43 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 1.0.5:
+- bug fixes
+
 Version 1.0.4:
 - bug fixes
 
--- a/PluginVulture.py	Fri Mar 31 17:59:40 2017 +0200
+++ b/PluginVulture.py	Sun Apr 09 17:17:43 2017 +0200
@@ -24,7 +24,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.0.4"
+version = "1.0.5"
 className = "VulturePlugin"
 packageName = "VultureChecker"
 shortDescription = "Plug-in to detect unused code using the vulture library"
Binary file PluginVulture.zip has changed
--- a/VultureChecker/VultureCheckerService.py	Fri Mar 31 17:59:40 2017 +0200
+++ b/VultureChecker/VultureCheckerService.py	Sun Apr 09 17:17:43 2017 +0200
@@ -14,9 +14,13 @@
 except NameError:
     pass
 
+try:
+    import Queue as queue   # Py2
+except ImportError:
+    import queue
+
 import sys
 import multiprocessing
-import queue
 
 from vulture import Vulture
 

eric ide

mercurial