Fixed a bug causing a traceback when double clicking an entry. release-5.4.0

Thu, 24 Apr 2014 18:45:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 24 Apr 2014 18:45:18 +0200
changeset 33
b4cb9692bd3d
parent 32
b0a6368042b9
child 34
6af72432d072

Fixed a bug causing a traceback when double clicking an entry.

ChangeLog file | annotate | diff | comparison | revisions
PluginPyLint.zip file | annotate | diff | comparison | revisions
PyLint/PyLintExecDialog.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Apr 23 23:24:48 2014 +0200
+++ b/ChangeLog	Thu Apr 24 18:45:18 2014 +0200
@@ -1,6 +1,7 @@
 ChangeLog
 ---------
 Version 5.4.0:
+- bug fixes
 - Python 2 compatibility flag added
 - fixed some code style issues
 
Binary file PluginPyLint.zip has changed
--- a/PyLint/PyLintExecDialog.py	Wed Apr 23 23:24:48 2014 +0200
+++ b/PyLint/PyLintExecDialog.py	Thu Apr 24 18:45:18 2014 +0200
@@ -343,7 +343,7 @@
             vm = e5App().getObject("ViewManager")
             vm.openSourceFile(fn, lineno)
             editor = vm.getOpenEditor(fn)
-            editor.toggleFlakesWarning(
+            editor.toggleWarning(
                 lineno, True,
                 "{0} | {1}".format(itm.text(1), itm.text(2)))
         else:
@@ -354,7 +354,7 @@
             for index in range(itm.childCount()):
                 citm = itm.child(index)
                 lineno = int(citm.text(0))
-                editor.toggleFlakesWarning(
+                editor.toggleWarning(
                     lineno, True,
                     "{0} | {1}".format(citm.text(1), citm.text(2)))
         

eric ide

mercurial