PluginPyLint.py

changeset 35
c3ca6d580760
parent 32
b0a6368042b9
child 37
6d16eddede1e
child 38
bf234b8941d9
--- a/PluginPyLint.py	Thu Apr 24 19:10:07 2014 +0200
+++ b/PluginPyLint.py	Wed Apr 30 19:58:17 2014 +0200
@@ -42,7 +42,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.4.0"
+version = "5.4.1"
 className = "PyLintPlugin"
 packageName = "PyLint"
 shortDescription = "Show the PyLint dialogs."
@@ -79,9 +79,10 @@
     }
     if _checkProgram():
         for exePath in (exePy2[0], exePy3[0]):
-            data["exe"] = exePath
-            data["versionStartsWith"] = "pylint"
-            dataList.append(data.copy())
+            if exePath:
+                data["exe"] = exePath
+                data["versionStartsWith"] = "pylint"
+                dataList.append(data.copy())
     else:
         dataList.append(data)
     return dataList

eric ide

mercurial