mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Allow upper case in package name, wrong though it may seem
This commit is contained in:
parent
0175ad08ee
commit
b0820cdb87
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,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-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'] = re.match(pat, line).group(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue