From: Daniel Martí Date: Wed, 4 Jun 2014 11:29:01 +0000 (+0200) Subject: Fix crash in checkupdates with auto-updates X-Git-Tag: 0.2~44 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3690b89e0aafa3f4b0b122a1c6c497a18ad039da;p=fdroidserver.git Fix crash in checkupdates with auto-updates --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index ae185350..83604f6f 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -491,7 +491,8 @@ def main(): if not gotcur: newbuild = latest.copy() - del newbuild['origlines'] + if 'origlines' in newbuild: + del newbuild['origlines'] newbuild['disable'] = False newbuild['vercode'] = app['Current Version Code'] newbuild['version'] = app['Current Version'] + suffix