From: Douglas Bagnall Date: Thu, 11 Oct 2018 03:48:12 +0000 (+1300) Subject: ldb/tests/py/api: use proper name for ldb.LdbError X-Git-Tag: tdb-1.3.17~1030 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc64f2586dd7b624a19bb5fb6797be19d525ae92;p=thirdparty%2Fsamba.git ldb/tests/py/api: use proper name for ldb.LdbError Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py index 0e16004deed..6be410b22f3 100755 --- a/lib/ldb/tests/python/api.py +++ b/lib/ldb/tests/python/api.py @@ -2792,7 +2792,7 @@ class LdbResultTests(LdbBaseTest): # and commit try: child_ldb.transaction_commit() - except LdbError as err: + except ldb.LdbError as err: # We print this here to see what went wrong in the child print(err) os._exit(1) @@ -2863,7 +2863,7 @@ class LdbResultTests(LdbBaseTest): # and commit try: child_ldb.transaction_commit() - except LdbError as err: + except ldb.LdbError as err: # We print this here to see what went wrong in the child print(err) os._exit(1)