topleft topright

Welcome, Guest. Please login or register.
May 23, 2013, 05:49:38 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

Pages: [1]
Print
Author Topic: MacroCommand.__init__ does not call super()  (Read 1443 times)
chphilli
Newbie
*
Posts: 7


View Profile Email
« on: October 02, 2009, 01:33:40 PM »

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
Logged
Pages: [1]
Print
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.