mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Merge branch 'fix_var' into 'master'
Fix variable in exception See merge request fdroid/fdroidserver!1170
This commit is contained in:
commit
abd9faf275
@ -55,7 +55,7 @@ def check_http(app):
|
|||||||
if urlver != '.':
|
if urlver != '.':
|
||||||
parsed = urllib.parse.urlparse(urlver)
|
parsed = urllib.parse.urlparse(urlver)
|
||||||
if not parsed.netloc or not parsed.scheme or parsed.scheme != 'https':
|
if not parsed.netloc or not parsed.scheme or parsed.scheme != 'https':
|
||||||
raise FDroidException(_('UpdateCheckData has invalid URL: {url}').format(url=urlcode))
|
raise FDroidException(_('UpdateCheckData has invalid URL: {url}').format(url=urlver))
|
||||||
|
|
||||||
logging.debug("...requesting {0}".format(urlcode))
|
logging.debug("...requesting {0}".format(urlcode))
|
||||||
req = urllib.request.Request(urlcode, None, headers=net.HEADERS)
|
req = urllib.request.Request(urlcode, None, headers=net.HEADERS)
|
||||||
|
Loading…
Reference in New Issue
Block a user