1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Merge branch 'srclib' into 'master'

allow @ in srclib tag

See merge request fdroid/fdroidserver!1422
This commit is contained in:
Hans-Christoph Steiner 2024-01-06 21:46:33 +00:00
commit 599bd5a3a1

View File

@ -2103,7 +2103,7 @@ def getsrclib(spec, srclib_dir, basepath=False,
name = spec name = spec
ref = None ref = None
else: else:
name, ref = spec.split('@') name, ref = spec.split('@', 1)
if ':' in name: if ':' in name:
number, name = name.split(':', 1) number, name = name.split(':', 1)
if '/' in name: if '/' in name: