Commit ecef7e69 authored by Chris Lamb's avatar Chris Lamb 💬

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
Pipeline #88895 passed with stage
in 15 minutes and 12 seconds
......@@ -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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment