~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/repository/state.py

  • Committer: Marc Tardif
  • Date: 2012-03-21 22:32:04 UTC
  • Revision ID: marc.tardif@canonical.com-20120321223204-8g7mvzzwmh8ifbrt
Added support for getting systems from a person (LP #899361)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
class StateMeta(type):
39
39
 
40
 
    def __init__(cls, name, bases, dict):
41
 
        super(StateMeta, cls).__init__(name, bases, dict)
42
 
        register_state(cls)
 
40
    def __init__(mcs, class_name, bases, class_dict):
 
41
        super(StateMeta, mcs).__init__(class_name, bases, class_dict)
 
42
        register_state(mcs)
43
43
 
44
44
 
45
45
class State: