From 777dc9ccfcd621a25882b013d6fd1aa7f0ca8baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Mon, 2 Sep 2019 16:25:04 +0200 Subject: [PATCH] Remove unnecessary pylint: disable comment --- tfw/components/ide/file_manager/file_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfw/components/ide/file_manager/file_manager.py b/tfw/components/ide/file_manager/file_manager.py index 994e57a..be74e22 100644 --- a/tfw/components/ide/file_manager/file_manager.py +++ b/tfw/components/ide/file_manager/file_manager.py @@ -7,7 +7,7 @@ from os.path import dirname, isdir, isfile, realpath def _with_is_allowed(func): @wraps(func) def wrapper(self, *args, **kwargs): - if self.is_allowed(args[0]): # pylint: disable=protected-access + if self.is_allowed(args[0]): return func(self, *args, **kwargs) raise ValueError('Forbidden path.') return wrapper