mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Fix import error message
This commit is contained in:
parent
a762a0cb04
commit
b87dde445f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def getrepofrompage(url):
|
||||||
|
|
||||||
req = urllib.urlopen(url)
|
req = urllib.urlopen(url)
|
||||||
if req.getcode() != 200:
|
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()
|
page = req.read()
|
||||||
|
|
||||||
# Works for Google Code and BitBucket...
|
# Works for Google Code and BitBucket...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue