--- a/PluginPyLint.py Sat Oct 31 18:46:24 2015 +0100 +++ b/PluginPyLint.py Sun Nov 15 18:59:59 2015 +0100 @@ -35,7 +35,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "6.1.2" +version = "6.1.3" className = "PyLintPlugin" packageName = "PyLint" shortDescription = "Show the PyLint dialogs." @@ -90,6 +90,7 @@ @param exe name of the executable program (string) @return version string of detected version (string) """ + version = '0.0.0' proc = QProcess() proc.setProcessChannelMode(QProcess.MergedChannels) proc.start(exe, ['--version']) @@ -104,8 +105,6 @@ version = line.split()[-1] version = version[:-1] break - else: - version = '0.0.0' return version