List Info

Thread: Tow bugs in unohelper.py




Tow bugs in unohelper.py
user name
2007-05-24 21:09:55
File
"/usr/lib/python2.4/site-packages/unohelper.py",
line 276, in 
supportsService
NameError: global name 'serviceNames' is not defined
Diff output against my new version:
276c276
< 	  return ServiceName in serviceNames
---
 > 	  return ServiceName in self.serviceNames


class ImplementationHelper
line 153:
def getComponentFactory( self, implementationName , regKey,
smgr ):

last two arguments are obsolete (unused).

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeudk.openoffice.org
For additional commands, e-mail: dev-helpudk.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )