mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Fix import error message
This commit is contained in:
parent
a762a0cb04
commit
b87dde445f
@ -32,7 +32,7 @@ def getrepofrompage(url):
|
||||
|
||||
req = urllib.urlopen(url)
|
||||
if req.getcode() != 200:
|
||||
return (None, 'Unable to find source at ' + sourcecode + ' - return code ' + str(req.getcode()))
|
||||
return (None, 'Unable to get ' + url + ' - return code ' + str(req.getcode()))
|
||||
page = req.read()
|
||||
|
||||
# Works for Google Code and BitBucket...
|
||||
|
Loading…
Reference in New Issue
Block a user