mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
147: Changed cmd calling signature to __call__(self, *args, **kw)
This commit is contained in:
@@ -219,7 +219,7 @@ class cmd(plugable.Plugin):
|
|||||||
', '.join('%s=%r' % (k, kw[k]) for k in sorted(kw)),
|
', '.join('%s=%r' % (k, kw[k]) for k in sorted(kw)),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __call__(self, **kw):
|
def __call__(self, *args, **kw):
|
||||||
print ''
|
print ''
|
||||||
self.print_call('__call__', kw)
|
self.print_call('__call__', kw)
|
||||||
kw = self.normalize(**kw)
|
kw = self.normalize(**kw)
|
||||||
|
|||||||
Reference in New Issue
Block a user