chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a762a0c
)
Fix import error message
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 31 Oct 2013 15:47:24 +0000
(15:47 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 31 Oct 2013 15:47:24 +0000
(15:47 +0000)
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index e6b8ecfce736280071666009ee59aa5804f44324..7ae19dfe894d15a03476b6f0051e1de3029d23b5 100644
(file)
--- a/
fdroidserver/import.py
+++ b/
fdroidserver/import.py
@@
-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...