mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-27 19:34:03 -04:00
Fix import error message
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user