updating delegate implementation

This commit is contained in:
Roman Mogilatov 2015-02-23 00:19:23 +02:00
parent 039e211a09
commit b6961f9311

View File

@ -36,7 +36,7 @@ class Provider(object):
"""
Returns provider delegate.
"""
return lambda *args, **kwargs: self.__call__(*args, **kwargs)
return self.__call__
def prepare_injections(injections):