diff --git a/debian/changelog b/debian/changelog index 9f5647a..6c96a67 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,10 @@ ubuntu-dev-tools (0.80) UNRELEASED; urgency=low [ Nathan Handler ] * debian/control: Mention pull-revu-source in description + [ Joe Bernard ] + * Launchpad API changed causing pull-lp-source to fail to parse the .dsc + file from the URL contents (LP: #436006). + -- Iain Lane Thu, 24 Sep 2009 12:38:52 +0100 ubuntu-dev-tools (0.79) karmic; urgency=low diff --git a/pull-lp-source b/pull-lp-source index f96ac8d..c025064 100755 --- a/pull-lp-source +++ b/pull-lp-source @@ -54,7 +54,7 @@ class BackportFromLP: def __prepare_sources(self): # Scrape the source package from Launchpad :) contents = urllib2.urlopen('https://launchpad.net/ubuntu/%(target_release)s/+source/%(package)s' % self).read() - links = re.findall('a href=\"(.*\.dsc)\"', contents) + links = re.findall('href=\"(.*\.dsc)\"', contents) if len(links) == 1 and \ subprocess.call(['dget', '-xu', 'https://launchpad.net%s' % links[0]]) == 0: