checkupdates: remove magic number 99999999 from HTTP checks

It is vestigal from old code and no longer is needed.
This commit is contained in:
Hans-Christoph Steiner 2018-08-29 13:00:53 +02:00
parent 5d77fd97ee
commit a089614225
2 changed files with 3 additions and 1 deletions

View file

@ -57,7 +57,7 @@ def check_http(app):
if not parsed.netloc or not parsed.scheme or parsed.scheme != 'https':
raise FDroidException(_('UpdateCheckData has invalid URL: {url}').format(url=urlcode))
vercode = "99999999"
vercode = None
if len(urlcode) > 0:
logging.debug("...requesting {0}".format(urlcode))
req = urllib.request.Request(urlcode, None)