[Libreoffice-commits] core.git: pyuno/source

David Bolen db3l.net at gmail.com
Wed Jul 24 04:04:46 PDT 2013


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

New commits:
commit 329125abb63061214897e4f215d41cfa4b13b4b0
Author: David Bolen <db3l.net at gmail.com>
Date:   Wed Jul 24 13:03:48 2013 +0200

    fdo#66025: Minor clean-up of previous patch
    
    Change-Id: Idaaf8ebbf419899ba04b77cf10b217c141652a3a
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
index 62ad01f..d5da804 100644
--- a/pyuno/source/module/uno.py
+++ b/pyuno/source/module/uno.py
@@ -263,7 +263,7 @@ def _uno_import( name, *optargs, **kwargs ):
     try:
 #       print "optargs = " + repr(optargs)
         return _g_delegatee( name, *optargs, **kwargs )
-    except ImportError as e:
+    except ImportError:
         # process optargs
         globals, locals, fromlist = list(optargs)[:3] + [kwargs.get('globals',{}), kwargs.get('locals',{}), kwargs.get('fromlist',[])][len(optargs):]
         if not fromlist:


More information about the Libreoffice-commits mailing list