mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-08-07 05:46:15 -04:00
Remove extra argument in magic warning call
This commit is contained in:
1 parent
52a0773d71
commit
94e2b120e4
1 file changed
+1
-1
@@ -1463,7 +1463,7 @@ def scan_source(build_dir, root_dir, thisbuild):
|
|||||||
try:
|
try:
|
||||||
mime = magic.from_file(fp, mime=True) if ms is None else ms.file(fp)
|
mime = magic.from_file(fp, mime=True) if ms is None else ms.file(fp)
|
||||||
except UnicodeError:
|
except UnicodeError:
|
||||||
warnproblem('malformed magic number', fd, fp)
|
warnproblem('malformed magic number', fd)
|
||||||
|
|
||||||
if mime == 'application/x-sharedlib':
|
if mime == 'application/x-sharedlib':
|
||||||
count += handleproblem('shared library', fd, fp)
|
count += handleproblem('shared library', fd, fp)
|
||||||
|
|||||||
Reference in new issue
Block a user