Print the URL that failed in get_changelog(). Thanks Barry!

This commit is contained in:
Stefano Rivera 2011-10-24 22:39:01 +02:00
parent 4750a90f80
commit 2b51da9af7

View File

@ -65,7 +65,7 @@ def get_changelog(srcpkg, distro):
try:
return Changelog(urllib2.urlopen(url))
except urllib2.HTTPError, error:
print >> sys.stderr, ('Unable to connect to %s: %s' % (base, error))
print >> sys.stderr, ('%s: %s' % (url, error))
return None
# TODO: Move this into requestsync.mail, and implement an LP version