From 2b51da9af7ecec1658f7c0bb9abd629e5f4e4737 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 24 Oct 2011 22:39:01 +0200 Subject: [PATCH] Print the URL that failed in get_changelog(). Thanks Barry! --- ubuntutools/requestsync/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/requestsync/common.py b/ubuntutools/requestsync/common.py index 7841e2e..37f90cb 100644 --- a/ubuntutools/requestsync/common.py +++ b/ubuntutools/requestsync/common.py @@ -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