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:
2486ca1
)
Fix auto-update version code comparison
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 24 Sep 2012 13:05:57 +0000
(14:05 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 24 Sep 2012 13:05:57 +0000
(14:05 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 7d4d6804c5aa3d25ce21816f38ce71ae8836d136..f993fa94c489d27394e2ebcf2a5e6f49f1dfeb4f 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-236,7
+236,7
@@
def main():
for build in app['builds']:
if build['vercode'] == app['Current Version Code']:
gotcur = True
- if not latest or
build['vercode'] > latest['vercode']
:
+ if not latest or
int(build['vercode']) > int(latest['vercode'])
:
latest = build
if not gotcur:
newbuild = latest.copy()