mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Merged branch from Joe Bernard, fixes LP: #436006.
This commit is contained in:
commit
d093c7b35c
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -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 <laney@ubuntu.com> Thu, 24 Sep 2009 12:38:52 +0100
|
||||
|
||||
ubuntu-dev-tools (0.79) karmic; urgency=low
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user