3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 08:01:09 +00:00

* buildd: Small changes to strings.

This commit is contained in:
Jonathan Patrick Davies 2008-09-01 11:19:08 +01:00
parent 4b3746bb6d
commit 83d71696d7

6
buildd

@ -116,15 +116,15 @@ print "Current build status for this package is as follows:"
for m in re.finditer('"/ubuntu/\+source/%s/%s(/\+build/\d+)"[^\n]+\n\s*(\w+).*?<span>(\w+)</span>.*?</a>\s*([^\n]+)\n' % for m in re.finditer('"/ubuntu/\+source/%s/%s(/\+build/\d+)"[^\n]+\n\s*(\w+).*?<span>(\w+)</span>.*?</a>\s*([^\n]+)\n' %
(package.replace('+', '\+'), version.replace('+', '\+')), page, re.S): (package.replace('+', '\+'), version.replace('+', '\+')), page, re.S):
if m.group(2) == release: if m.group(2) == release:
print '%s: %s.' % (m.group(3), m.group(4)) print '%s\t : %s.' % (m.group(3), m.group(4))
buildstats[url + m.group(1)] = [m.group(3).strip(), m.group(4).strip()] buildstats[url + m.group(1)] = [m.group(3).strip(), m.group(4).strip()]
# Operations. # Operations.
if op == 'status': if op == 'status':
sys.exit(0) sys.exit(0)
# Leaving operations may only be done by Ubuntu developers (retry) or buildd # Operations that are remaining may only be done by Ubuntu developers (retry)
# admins (rescore). Check if the proper permissions are in place. # or buildd admins (rescore). Check if the proper permissions are in place.
if op == "rescore": teamNeeded = "launchpad-buildd-admins" if op == "rescore": teamNeeded = "launchpad-buildd-admins"
if op == "retry": if op == "retry":
if component in ("main", "restricted"): if component in ("main", "restricted"):