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:
parent
f129ca9892
commit
fc64f2586d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user