Merged changes by Marco Rodrigues for Debian madison workaround in

requestsync.
This commit is contained in:
Jonathan Davies 2009-03-04 20:48:32 +00:00
commit 81f3805efa
2 changed files with 5 additions and 8 deletions

5
debian/changelog vendored
View File

@ -6,7 +6,10 @@ ubuntu-dev-tools (0.66) UNRELEASED; urgency=low
* pbuilder-dist:
- Better error messages if cowbuilder/pbuilder/debootstrap isn't installed.
-- Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Wed, 04 Mar 2009 19:14:52 +0100
[ Marco Rodrigues ]
* Remove workaround for Debian madison, it works fine now.
-- Jonathan Davies <jpds@ubuntu.com> Wed, 04 Mar 2009 20:45:10 +0000
ubuntu-dev-tools (0.65) jaunty; urgency=low

View File

@ -180,13 +180,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