Show
Ignore:
Timestamp:
10/08/08 19:10:37 (3 months ago)
Author:
CJP
Message:

Fix some more init and new deprecation warnings for python 2.6

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wxPython/3rdParty/Editra/src/plugin.py

    r56042 r56178  
    179179        return 'EdPlugin' 
    180180 
    181     def __new__(cls, *args, **kwargs): 
     181    def __new__(cls, pluginmgr): 
    182182        """Only one instance of each plugin is allowed to exist 
    183183        per manager. If an instance of this plugin has already be 
    184184        initialized, that instance will be returned. If not this will 
    185185        initialize a new instance of the plugin. 
     186        @keyword mgr: Plugin Manager instance 
    186187        @return: a new class object or an existing instance if one 
    187188                 exists. 
     
    194195            return self 
    195196 
    196         pluginmgr = args[0] 
    197197        self = pluginmgr.GetPlugins().get(cls) 
    198198        if self is None: