chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a0773
)
Remove extra argument in magic warning call
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 24 Jul 2014 06:55:54 +0000
(08:55 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 24 Jul 2014 06:55:54 +0000
(08:55 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index bfe6efe66f938f53f80c57b252cde8d4ba2e3e1e..d3f45800678c2722ba178f818b52ca31f292dda5 100644
(file)
--- 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)