This is an automated email from the ASF dual-hosted git repository. domino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/madlib.git
commit c9e34c394b445f74de8f2b986fc4f9bd29818fe4 Author: Domino Valdano <dvald...@vmware.com> AuthorDate: Wed Oct 7 19:20:04 2020 -0700 Fix force option in kwargs --- src/ports/postgres/modules/utilities/debug.py_in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ports/postgres/modules/utilities/debug.py_in b/src/ports/postgres/modules/utilities/debug.py_in index ccdceba..7051dd6 100644 --- a/src/ports/postgres/modules/utilities/debug.py_in +++ b/src/ports/postgres/modules/utilities/debug.py_in @@ -71,8 +71,8 @@ def plpy_execute(*args, **kwargs): force = False if 'force' in kwargs: + force = kwargs['force'] del kwargs['force'] - force = force['force'] plpy = plpy_orig # override global plpy, # to avoid infinite recursion @@ -114,8 +114,8 @@ def plpy_info(*args, **kwargs): force = False if 'force' in kwargs: - del kwargs['force'] force = kwargs['force'] + del kwargs['force'] if plpy_info_enabled or force: plpy_orig.info(*args, **kwargs) @@ -131,8 +131,8 @@ def plpy_debug(*args, **kwargs): force = False if 'force' in kwargs: - del kwargs['force'] force = kwargs['force'] + del kwargs['force'] if plpy_debug_enabled or force: plpy_orig.info(*args, **kwargs)