mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-11 08:51:29 +00:00
* requestsync: Reverted old madison.php workaround (LP: #183346).
This commit is contained in:
parent
2815680714
commit
2cfb651336
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ ubuntu-dev-tools (0.67) UNRELEASED; urgency=low
|
|||||||
* mk-sbuild-lv: Changed default behaviour so that the initial build and log
|
* mk-sbuild-lv: Changed default behaviour so that the initial build and log
|
||||||
directories are not created on first run; instead read settings file and
|
directories are not created on first run; instead read settings file and
|
||||||
check if they exist (LP: #342154).
|
check if they exist (LP: #342154).
|
||||||
|
* requestsync: Reverted old madison.php workaround (LP: #183346).
|
||||||
|
|
||||||
-- Jonathan Davies <jpds@ubuntu.com> Mon, 09 Mar 2009 16:03:09 +0000
|
-- Jonathan Davies <jpds@ubuntu.com> Mon, 09 Mar 2009 16:03:09 +0000
|
||||||
|
|
||||||
|
@ -179,8 +179,13 @@ def cur_deb_version(sourcepkg, distro):
|
|||||||
except AssertionError:
|
except AssertionError:
|
||||||
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