Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apport/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ def _check_interpreted(self) -> None:
# check if we consider ExecutablePath an interpreter; we have to do
# this, otherwise 'gedit /tmp/foo.txt' would be detected as interpreted
# script as well
if not any(filter(lambda i: fnmatch.fnmatch(exebasename, i), interpreters)):
if not any(fnmatch.fnmatch(exebasename, i) for i in interpreters):
return

# first, determine process name
Expand Down
Loading