Remove workaround for debian madison, it works fine now

This commit is contained in:
Marco Rodrigues 2009-02-24 09:55:38 +00:00
parent d830c5a4c1
commit c8933eb174

View File

@ -179,13 +179,7 @@ def cur_deb_version(sourcepkg, distro):
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()
return out.split('|')[1].strip()
def debian_changelog(sourcepkg, component, version):
'''Return the Debian changelog from the latest up to the given version