1
0
mirror of synced 2024-12-22 12:50:13 +01:00

Please pylint

This commit is contained in:
jvoisin 2021-04-24 17:28:44 +02:00
parent 85c08c5b68
commit 2eec653e99

View File

@ -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(