From c45325eca75f22a29b15fbc7ce7a88d94e5e880d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 10 Nov 2020 16:14:49 +0100 Subject: pythonconsole: Disable pylint E1101 again for newer pylint It seems the error disabling markup doesn't work with newer versions of pylint (pylint 2.6.0). --- src/plugins/pythonconsole/console.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/pythonconsole/console.py b/src/plugins/pythonconsole/console.py index 5da0068e4..aa8f5a754 100644 --- a/src/plugins/pythonconsole/console.py +++ b/src/plugins/pythonconsole/console.py @@ -293,8 +293,7 @@ class PythonConsole(Gtk.ScrolledWindow): # pylint: disable=R0902 except SyntaxError: exec(command, self.namespace) # pylint: disable=W0122 except: # pylint: disable=W0702 - if hasattr(sys, 'last_type') and \ - sys.last_type == SystemExit: # pylint: disable=E1101 + if hasattr(sys, 'last_type') and sys.last_type == SystemExit: # pylint: disable=E1101 self.destroy() else: traceback.print_exc() -- cgit v1.2.1