From 32c82f96e6f7ca07f5fdd079525305afb80cff4d Mon Sep 17 00:00:00 2001 From: "markh%activestate.com" Date: Sun, 5 Aug 2001 08:24:43 +0000 Subject: [PATCH] Allow the IID for services to not be specified, to better support flattening. Not part of the build. git-svn-id: svn://10.0.0.236/trunk@100367 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/python/xpcom/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/python/xpcom/components.py b/mozilla/extensions/python/xpcom/components.py index 16a82e5076b..e8492536f89 100644 --- a/mozilla/extensions/python/xpcom/components.py +++ b/mozilla/extensions/python/xpcom/components.py @@ -152,7 +152,7 @@ class _Class: def createInstance(self, iid = None): import xpcom.client return xpcom.client.Component(self.contractid, _get_good_iid(iid)) - def getService(self, iid): + def getService(self, iid = None): return _xpcom.GetGlobalServiceManager().getService(self.contractid, _get_good_iid(iid)) class _Classes(_ComponentCollection):