1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

ldb/tests/py/api: use proper name for ldb.LdbError

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
Douglas Bagnall 2018-10-11 16:48:12 +13:00 committed by Douglas Bagnall
parent f129ca9892
commit fc64f2586d

View File

@ -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)