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:
16baeec
)
Fix --auto for the new BV syntax
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 31 Oct 2013 16:59:45 +0000
(17:59 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 31 Oct 2013 16:59:45 +0000
(17:59 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 382d758ca21e9db995ebb8dcaa87fbcac0b53b06..fb65405f34363a01e6f96cf65016af21b881b322 100644
(file)
--- 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']