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:
f8b6f7a
)
Filter silly version codes (e.g. 007) when checking updates
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 4 Sep 2012 17:52:33 +0000
(18:52 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 4 Sep 2012 17:52:33 +0000
(18:52 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index c73d8a6972a2dde833e302ddf2277de2c05f9788..b3ae4e540329d2b8ec492999f30a86a538edfa08 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-218,7
+218,7
@@
def main():
else:
print '...updating to version:' + version + ' vercode:' + vercode
app['Current Version'] = version
- app['Current Version Code'] =
vercode
+ app['Current Version Code'] =
(str)((int)vercode)
metafile = os.path.join('metadata', app['id'] + '.txt')
common.write_metadata(metafile, app)