Please pylint
This commit is contained in:
parent
85c08c5b68
commit
2eec653e99
@ -231,7 +231,7 @@ class Mat2Extension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationWid
|
||||
"""
|
||||
# Do not show the menu item if not a single file has a chance to be
|
||||
# processed by mat2.
|
||||
if not any([is_valid for (is_valid, _) in map(self.__validate, files)]):
|
||||
if not any((is_valid for (is_valid, _) in map(self.__validate, files))):
|
||||
return None
|
||||
|
||||
item = Nautilus.MenuItem(
|
||||
|
Loading…
Reference in New Issue
Block a user