From fbc038cc4f4a12f8302ce5b3bd7d739bd66a674e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 May 2019 09:34:10 +0100 Subject: an uno -> a uno MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d Reviewed-on: https://gerrit.libreoffice.org/72105 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- pyuno/inc/pyuno.hxx | 2 +- pyuno/source/module/uno.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pyuno') diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx index a8680b6c4d3a..1d1fa7750879 100644 --- a/pyuno/inc/pyuno.hxx +++ b/pyuno/inc/pyuno.hxx @@ -215,7 +215,7 @@ public: */ static bool isInitialized(); - /** converts something contained in an UNO Any to a Python object + /** converts something contained in a UNO Any to a Python object preconditions: python has been initialized before, the global interpreter lock is held and pyuno::Runtime diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py index 6d671e620f21..bd894a0eea4e 100644 --- a/pyuno/source/module/uno.py +++ b/pyuno/source/module/uno.py @@ -359,7 +359,7 @@ def _uno_import(name, *optargs, **kwargs): globals, locals, fromlist = list(optargs)[:3] + [kwargs.get('globals', {}), kwargs.get('locals', {}), kwargs.get('fromlist', [])][len(optargs):] - # from import form only, but skip if an uno lookup has already failed + # from import form only, but skip if a uno lookup has already failed if not fromlist or hasattr(e, '_uno_import_failed'): raise -- cgit