[Libreoffice-commits] .: pyuno/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Dec 12 07:22:35 PST 2011


 pyuno/source/loader/pythonloader.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9e8ac5c91e8bd42467b130b3cd53da44f7b736f6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 12 15:21:19 2011 +0000

    more debug spew in non-debug product

diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py
index da3efa7..eef1bd6 100644
--- a/pyuno/source/loader/pythonloader.py
+++ b/pyuno/source/loader/pythonloader.py
@@ -139,8 +139,8 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ):
 
         mod = self.getModuleFromUrl( locationUrl )
         implHelper = mod.__dict__.get( "g_ImplementationHelper" , None )
-        print ("dump stuff")
         if DEBUG:
+            print ("dump stuff")
             print ("Fetched ImplHelper as " + str(implHelper))
         if implHelper == None:
             return mod.getComponentFactory( implementationName, self.ctx.ServiceManager, regKey )


More information about the Libreoffice-commits mailing list