From fc64f2586dd7b624a19bb5fb6797be19d525ae92 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Oct 2018 16:48:12 +1300 Subject: [PATCH] ldb/tests/py/api: use proper name for ldb.LdbError Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- lib/ldb/tests/python/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.2