Skip to content
Commit c885c24a authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Prevent a traceback when comparing a contentful .pyc file with an empty one. (Re: Debian:#1064973)

They were being detected as PycFiles via FALLBACK_FILE_EXTENSION_SUFFIX,
but this allowed (valid, it seems!) empty .pyc files to be processed by
code that assumed that the file was non-empty. This patch continues
to detect them as PycFiles but does not attempt in-depth parsing.
parent 529d0ae3
Loading
Loading
Loading
Pipeline #647049 failed with stages
in 32 minutes and 47 seconds
Loading
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