Pass the class itself to the registrar function.

Not part of the build.
This commit is contained in:
markh@activestate.com
2001-04-03 11:17:35 +00:00
parent c535243785
commit 06683b0c3b
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ def FindCOMComponents(py_module):
comps.append(object)
return comps
def register_self(compMgr, location, registryLocation, componentType):
def register_self(klass, compMgr, location, registryLocation, componentType):
pcl = PythonComponentLoader
from xpcom import _xpcom
svc = _xpcom.GetGlobalServiceManager().GetService("@mozilla.org/categorymanager;1", components.interfaces.nsICategoryManager)