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:
c36d193
)
Underscore is valid in package id
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Jan 2012 15:32:53 +0000
(15:32 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Jan 2012 15:32:53 +0000
(15:32 +0000)
update.py
patch
|
blob
|
history
diff --git
a/update.py
b/update.py
index e6758d12f2550f939b622fcd38a47fce45c7922a..a943bb7e8ee6dace79cd35ac8390bd9a0b0b217f 100755
(executable)
--- a/
update.py
+++ b/
update.py
@@
-101,7
+101,7
@@
for apkfile in glob.glob(os.path.join('repo','*.apk')):
sys.exit(1)
for line in output.splitlines():
if line.startswith("package:"):
- pat = re.compile(".*name='([a-zA-Z0-9.]*)'.*")
+ pat = re.compile(".*name='([a-zA-Z0-9.
_
]*)'.*")
thisinfo['id'] = re.match(pat, line).group(1)
pat = re.compile(".*versionCode='([0-9]*)'.*")
thisinfo['versioncode'] = int(re.match(pat, line).group(1))