chiark / gitweb /
update: do not crash on screenshots without texts/graphics
authorHans-Christoph Steiner <hans@eds.org>
Mon, 12 Jun 2017 14:15:07 +0000 (16:15 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 12 Jun 2017 19:25:54 +0000 (21:25 +0200)
commitd06f05e9c87e7ada00c1324c00bca99ed906a6e7
tree62a24fef7e9c15de46858a19622fdb43d38005e6
parente1d316a4bc06ef3a5b5ede7b370928b54833640c
update: do not crash on screenshots without texts/graphics

`fdroid update` crashed for apps that only had screenshots but no graphics
or localized texts because destdir was not being set in that case.  This
fixes that and adds a test case.

closes #320
!286
fdroidserver/update.py
tests/metadata/info.guardianproject.checkey/en-US/phoneScreenshots/checkey-phone.png [new file with mode: 0644]
tests/metadata/info.guardianproject.checkey/en-US/phoneScreenshots/checkey.png [new file with mode: 0644]