~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/model/builder.py

  • Committer: mbp at canonical
  • Date: 2011-11-20 23:37:23 UTC
  • mto: This revision was merged to the branch mainline in revision 14344.
  • Revision ID: mbp@canonical.com-20111120233723-370p96db2crru5tm
Delete canonical.buildd again

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009,2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0611,W0212
312
312
    """See `IBuilder`."""
313
313
    # 'ident_position' dict relates the position of the job identifier
314
314
    # token in the sentence received from status(), according the
315
 
    # two status we care about. See see lib/canonical/buildd/slave.py
 
315
    # two status we care about. See lp:launchpad-buildd
316
316
    # for further information about sentence format.
317
317
    ident_position = {
318
318
        'BuilderStatus.BUILDING': 1,
327
327
        Always return status_sentence.
328
328
        """
329
329
        # Isolate the BuilderStatus string, always the first token in
330
 
        # see lib/canonical/buildd/slave.py and
331
330
        # IBuilder.slaveStatusSentence().
332
331
        status = status_sentence[0]
333
332