mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
* Add work-around for a bug(?) in Debian's madison.php (LP: #183346)
This commit is contained in:
parent
197a4a014e
commit
b531767097
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
ubuntu-dev-tools (0.25) UNRELEASED; urgency=low
|
||||
|
||||
* Add work-around for a bug in Debian's madison.php not returning only the
|
||||
'source' line (LP: #183346).
|
||||
|
||||
-- Michael Bienia <geser@ubuntu.com> Thu, 17 Jan 2008 13:42:35 +0100
|
||||
|
||||
ubuntu-dev-tools (0.24) hardy; urgency=low
|
||||
|
||||
[ Soren Hansen ]
|
||||
|
@ -41,6 +41,12 @@ def cur_deb_version(sourcepkg):
|
||||
except AssertionError:
|
||||
print "%s doesn't appear to exist in Debian." % sourcepkg
|
||||
sys.exit(1)
|
||||
|
||||
# Work-around for a bug in Debians madison.php script not returning
|
||||
# only the source line
|
||||
for line in out.splitlines():
|
||||
if line.find('source') > 0:
|
||||
out = line
|
||||
|
||||
return out.split('|')[1].rstrip('[]''').strip()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user