Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jvoisin
mat2
Commits
2eec653e
Commit
2eec653e
authored
Apr 24, 2021
by
jvoisin
Browse files
Please pylint
parent
85c08c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nautilus/mat2.py
View file @
2eec653e
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment