~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/component.py

  • Committer: William Grant
  • Date: 2011-05-09 06:44:09 UTC
  • mto: This revision was merged to the branch mainline in revision 13011.
  • Revision ID: william.grant@canonical.com-20110509064409-3obnz3i3f4tphq5z
More lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        return "<%s '%s'>" % (self.__class__.__name__, self.name)
39
39
 
40
40
 
41
 
 
42
41
class ComponentSelection(SQLBase):
43
42
    """See IComponentSelection."""
44
43
 
79
78
            return component
80
79
        return self.new(name)
81
80
 
82
 
 
83
81
    def new(self, name):
84
82
        """See IComponentSet."""
85
83
        return Component(name=name)
86