pyuno/source/module/uno.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 329125abb63061214897e4f215d41cfa4b13b4b0 Author: David Bolen <db3l....@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 <sberg...@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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits