openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #18919
Re: [Merge] lp:~trb143/openlp/bug-1097898 into lp:openlp
Your Registry.create() method is wrong. If you're supposed to use it to create the instance of the Registry, you are not doing that. Additionally, it is a class method, so the first parameter is a class, not an object. Lastly, your return value ("registry") is None because the create method does not return anything.
I *think* you're trying to do this:
class Registry(object):
.
.
.
@classmethod
def create(cls):
instance = cls()
instance._service_list = {}
return instance
--
https://code.launchpad.net/~trb143/openlp/bug-1097898/+merge/144400
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/bug-1097898 into lp:openlp.
References