summaryrefslogtreecommitdiff
path: root/pyuno/source
diff options
context:
space:
mode:
authorDavid Bolen <db3l.net@gmail.com>2013-07-24 13:03:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-07-24 13:04:25 +0200
commit329125abb63061214897e4f215d41cfa4b13b4b0 (patch)
tree4fc0b876ff26a540a4e9aaaa6504c91a7a5f7ae8 /pyuno/source
parent1f505adeca5e417a7d2085a50bf1ebdc4ddac4f6 (diff)
fdo#66025: Minor clean-up of previous patch
Change-Id: Idaaf8ebbf419899ba04b77cf10b217c141652a3a Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'pyuno/source')
-rw-r--r--pyuno/source/module/uno.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
index 62ad01fb9be3..d5da80464786 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: