From 16bce3a0d7871b547d6a469d509edeb671654759 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 11 Nov 2008 10:15:22 +0100 Subject: [PATCH] buildd: Strip off pocket from release name when parsing the builds page, so that this script works for pockets, too. --- buildd | 1 + debian/changelog | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/buildd b/buildd index 588b2ce..888a89a 100755 --- a/buildd +++ b/buildd @@ -103,6 +103,7 @@ buildstats = {} page = urlopener.open('https://launchpad.net/ubuntu/+source/%s/%s' % (package, version)) url = page.geturl() page = page.read() +release = release.split('-')[0] # strip off pocket print "Current build status for this package is as follows:" diff --git a/debian/changelog b/debian/changelog index 1c7fa89..c7806c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ ubuntu-dev-tools (0.48) UNRELEASED; urgency=low * common.py, checkReleaseExists() and checkSourceExists(): Add support for specifying pockets (e. g. release name "intrepid-proposed"). + * buildd: Strip off pocket from release name when parsing the builds page, + so that this script works for pockets, too. - -- Martin Pitt Tue, 11 Nov 2008 10:09:03 +0100 + -- Martin Pitt Tue, 11 Nov 2008 10:14:31 +0100 ubuntu-dev-tools (0.47) jaunty; urgency=low