147: Changed cmd calling signature to __call__(self, *args, **kw)

This commit is contained in:
Jason Gerard DeRose 2008-08-13 06:41:39 +00:00
parent d422ef1134
commit 024345e1f0

View File

@ -219,7 +219,7 @@ class cmd(plugable.Plugin):
', '.join('%s=%r' % (k, kw[k]) for k in sorted(kw)),
)
def __call__(self, **kw):
def __call__(self, *args, **kw):
print ''
self.print_call('__call__', kw)
kw = self.normalize(**kw)