Skip to content
Snippets Groups Projects
Commit ecef7e69 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Silence/correct a SyntaxWarning message due to incorrectly comparing an...

Silence/correct a SyntaxWarning message due to incorrectly comparing an integer by identity vs. equality. Thanks, Boyuan Yang. (Closes: Debian:#945531, #79)
parent 30a7ab58
No related branches found
Tags debian/0.11.5-2
No related merge requests found
Pipeline #88895 passed
......@@ -85,7 +85,7 @@ class Zipnote(Command):
returncode = super().returncode
# zipnote returns with an exit code of 3 for invalid archives
return 0 if returncode is 3 else returncode
return 0 if returncode == 3 else returncode
def filter(self, line):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment