From 8767dc305913aebe6b7e8c0903dab02a4207b800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 31 Oct 2013 17:59:45 +0100 Subject: [PATCH] Fix --auto for the new BV syntax --- fdroidserver/checkupdates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 382d758c..fb65405f 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -424,7 +424,8 @@ def main(): latest = build if not gotcur: newbuild = latest.copy() - del newbuild['origlines'] + if 'origlines' in newbuild: + del newbuild['origlines'] newbuild['vercode'] = app['Current Version Code'] newbuild['version'] = app['Current Version'] + suffix print "...auto-generating build for " + newbuild['version']