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:
94e686c
)
Package names can contain numbers too
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 22 Dec 2013 11:24:53 +0000
(12:24 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 22 Dec 2013 11:24:53 +0000
(12:24 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index d2f3e018b6089fa62a4d231ab04550792f8f14a3..9dbc8b004c42161ccfd4772f47e1060c27a049ac 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-175,7
+175,7
@@
def apknameinfo(filename):
global apk_regex
filename = os.path.basename(filename)
if apk_regex is None:
- apk_regex = re.compile(r"^([a-zA-Z\.]+)_([0-9]+)\.apk$")
+ apk_regex = re.compile(r"^([a-zA-Z
0-9
\.]+)_([0-9]+)\.apk$")
m = apk_regex.match(filename)
try:
result = (m.group(1), m.group(2))