From 94e2b120e4fbabd14752fc3ff04bfd27c846bd7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 24 Jul 2014 08:55:54 +0200 Subject: [PATCH] Remove extra argument in magic warning call --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index bfe6efe6..d3f45800 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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) -- 2.30.2