PureMVC Architects Lounge

PureMVC Manifold => Bug Report => Topic started by: chphilli on October 02, 2009, 01:33:40



Title: MacroCommand.__init__ does not call super()
Post by: chphilli on October 02, 2009, 01:33:40
Hi --

I found another issue with MacroCommand -- the __init__ method doesn't call super(). The super() call is necessary to ensure that the Notifier.__init__ method is called, which provides the MacroCommand instance with a reference to the Facade.

A simple super(MacroCommand, self).__init__() should do the trick.

Thanks,
--Chris