[Libreoffice-commits] .: scripting/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Mar 12 00:42:32 PST 2011
scripting/source/pyprov/pythonscript.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 60b368fa19ced4595bfba8068b1e5769a1be187d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Mar 12 09:42:11 2011 +0100
Fix bug found with pychecker
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index 2ca46b0..0d2faaa 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
More information about the Libreoffice-commits
mailing list