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:
f06e336
)
fix bug including media files
author
Hans-Christoph Steiner
<hans@eds.org>
Thu, 8 Dec 2016 18:11:36 +0000
(19:11 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Tue, 28 Feb 2017 11:08:04 +0000
(12:08 +0100)
'name' is not the full path, so it'll always fail common.is_repo_file()'s
os.path.isfile() check.
Introduced in
56d51fcd6be992c7bbc38431db06817816c1e08e
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index ba5fd706f15d7e61b4c78b32015b1339a066deb2..a81eda215bcbefe42496e6a86147b47fa07c6cfb 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-549,7
+549,7
@@
def scan_repo_files(apkcache, repodir, knownapks, use_date_from_file=False):
if file_extension == 'apk' or file_extension == 'obb':
continue
filename = os.path.join(repodir, name)
- if not common.is_repo_file(name):
+ if not common.is_repo_file(
file
name):
continue
stat = os.stat(filename)
if stat.st_size == 0: