mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-10 08:21:29 +00:00
Remove workaround for debian madison, it works fine now
This commit is contained in:
parent
d830c5a4c1
commit
c8933eb174
@ -179,13 +179,7 @@ def cur_deb_version(sourcepkg, distro):
|
|||||||
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
|
return out.split('|')[1].strip()
|
||||||
# only the source line
|
|
||||||
for line in out.splitlines():
|
|
||||||
if line.find('source') > 0:
|
|
||||||
out = line
|
|
||||||
|
|
||||||
return out.split('|')[1].rstrip('[]''').strip()
|
|
||||||
|
|
||||||
def debian_changelog(sourcepkg, component, version):
|
def debian_changelog(sourcepkg, component, version):
|
||||||
'''Return the Debian changelog from the latest up to the given version
|
'''Return the Debian changelog from the latest up to the given version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user