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:
230d897
)
update bombs out when no icons (closes #402)
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 24 Oct 2017 20:11:13 +0000
(22:11 +0200)
committer
Hans-Christoph Steiner
<hans@eds.org>
Wed, 25 Oct 2017 21:01:25 +0000
(23:01 +0200)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index 50c4d462a46ab3bf061bd1efb313e24b8db09111..574f1c243e6464f00d4051119b136394da13dd44 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-1625,7
+1625,7
@@
def move_apk_between_sections(from_dir, to_dir, apk):
for density in all_screen_densities:
from_icon_dir = get_icon_dir(from_dir, density)
to_icon_dir = get_icon_dir(to_dir, density)
- if density not in apk
['icons']
:
+ if density not in apk
.get('icons', [])
:
continue
_move_file(from_icon_dir, to_icon_dir, apk['icons'][density], True)
if 'srcname' in apk: