Merge lp:~stgraber/ubuntu-archive-tools/add-ready-state into lp:ubuntu-archive-tools

Proposed by Stéphane Graber on 2012-06-27
Status: Merged
Merged at revision: 494
Proposed branch: lp:~stgraber/ubuntu-archive-tools/add-ready-state
Merge into: lp:ubuntu-archive-tools
Diff against target: 24 lines (+2/-2)
2 files modified
isotracker_xmlrpc.py (+1/-1)
publish-image-set (+1/-1)
To merge this branch: bzr merge lp:~stgraber/ubuntu-archive-tools/add-ready-state
Reviewer Review Type Date Requested Status
Adam Conrad 2012-06-27 Approve on 2012-06-27
Review via email: mp+112437@code.launchpad.net

Description of the Change

Read the diff ;)

To post a comment you must log in.
Adam Conrad (adconrad) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'isotracker_xmlrpc.py'
2--- isotracker_xmlrpc.py 2012-05-18 18:38:49 +0000
3+++ isotracker_xmlrpc.py 2012-06-27 21:17:24 +0000
4@@ -104,7 +104,7 @@
5 else:
6 raise KeyError("Milestone '%s' not found" % milestone)
7
8-def get_builds(milestone=None, status=[0, 1]):
9+def get_builds(milestone=None, status=[0, 1, 4]):
10 if milestone is None:
11 milestone = default_milestone()
12 elif not isinstance(milestone, int):
13
14=== modified file 'publish-image-set'
15--- publish-image-set 2012-06-27 03:17:01 +0000
16+++ publish-image-set 2012-06-27 21:17:24 +0000
17@@ -115,7 +115,7 @@
18 # builds
19 for build in isotracker.get_builds():
20 product = products[build['productid']]
21- if build['status_string'] != 'Active':
22+ if build['status_string'] != 'Ready':
23 print('Ignoring %s which has status %s' % (product, build['status_string']))
24 continue
25

Subscribers

People subscribed via source and target branches