mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Remove extra argument in magic warning call
This commit is contained in:
parent
52a0773d71
commit
94e2b120e4
@ -1463,7 +1463,7 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
try:
|
||||
mime = magic.from_file(fp, mime=True) if ms is None else ms.file(fp)
|
||||
except UnicodeError:
|
||||
warnproblem('malformed magic number', fd, fp)
|
||||
warnproblem('malformed magic number', fd)
|
||||
|
||||
if mime == 'application/x-sharedlib':
|
||||
count += handleproblem('shared library', fd, fp)
|
||||
|
Loading…
Reference in New Issue
Block a user