<div dir="ltr">Hi,<div><br></div><div>I'm trying to fix this bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1963895">https://bugzilla.redhat.com/show_bug.cgi?id=1963895</a>.</div><div><br></div><div>Problem is that p<font color="#000000"><span style="white-space:pre-wrap">ython bytecode mimetypes are wrongly detected. E.g.</span></font></div><div>$ file --mime-type -b /usr/lib64/python3.9/site-packages/__pycache__/audit.cpython-39.pyc<font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div>$ text/x-bytecode.python</div><div>instead of</div><div>$ application/x-bytecode.python</div><div><br></div><div>This problem and fix for it was already listed by Steve Grubb in<a href="https://mailman.astron.com/pipermail/file/2020-November/000440.html"> https://mailman.astron.com/pipermail/file/2020-November/000440.html</a>.</div><div><br></div><div>I'm resending the patch he proposed.</div><div><br></div><div>vincent mihalkovic</div></div>