mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +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
|
ubuntu-dev-tools (0.24) hardy; urgency=low
|
||||||
|
|
||||||
[ Soren Hansen ]
|
[ Soren Hansen ]
|
||||||
|
@ -42,6 +42,12 @@ def cur_deb_version(sourcepkg):
|
|||||||
print "%s doesn't appear to exist in Debian." % sourcepkg
|
print "%s doesn't appear to exist in Debian." % sourcepkg
|
||||||
sys.exit(1)
|
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()
|
return out.split('|')[1].rstrip('[]''').strip()
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user