diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-12 09:42:11 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-12 09:42:11 +0100 |
commit | 4213244370b958d35c25b3d034e17f548ef0a310 (patch) | |
tree | 9cd42b33c0504540fab6fa905829806ff5e49d0a /scripting/source/pyprov | |
parent | 5062dd9c6fdf1c0b04dbb32c065afd4e0f62207d (diff) |
Fix bug found with pychecker
Diffstat (limited to 'scripting/source/pyprov')
-rw-r--r-- | scripting/source/pyprov/pythonscript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py index 2ca46b0ef37e..0d2faaae7545 100644 --- a/scripting/source/pyprov/pythonscript.py +++ b/scripting/source/pyprov/pythonscript.py @@ -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 |