From c8933eb174f6f5bfd18e1c3adc3f50f8c66bc1bd Mon Sep 17 00:00:00 2001 From: Marco Rodrigues Date: Tue, 24 Feb 2009 09:55:38 +0000 Subject: [PATCH] Remove workaround for debian madison, it works fine now --- requestsync | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/requestsync b/requestsync index 914ca45..c394242 100755 --- a/requestsync +++ b/requestsync @@ -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