mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
Underscore is valid in package id
This commit is contained in:
parent
c36d1931ce
commit
83c6915d1b
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue