From 431b49fbec68c17c7a486ef0f577107d3dd27e55 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 7 Jan 2014 15:37:16 +0100 Subject: No serviceNames attribute in Loader Change-Id: I6cc001d18683fc412f0ec0b6a33054d6e745463f --- pyuno/source/loader/pythonloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuno') diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index 3074d0f628a9..1d1b7de22652 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -157,7 +157,7 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): return g_implementationName def supportsService( self, ServiceName ): - return ServiceName in self.serviceNames + return ServiceName in self.getSupportedServiceNames() def getSupportedServiceNames( self ): return g_supportedServices -- cgit