Fix bug found with pychecker

This commit is contained in:
Julien Nabet
2011-03-12 09:42:11 +01:00
parent 5062dd9c6f
commit 4213244370

View File

@@ -768,7 +768,7 @@ class PackageBrowseNode( unohelper.Base, XBrowseNode ):
return tuple( browseNodeList )
def hasChildNodes( self ):
return len( self.mapPackageName2Path ) > 0
return len( self.provCtx.mapPackageName2Path ) > 0
def getType( self ):
return CONTAINER