Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
# and commit
try:
child_ldb.transaction_commit()
# 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)
# We print this here to see what went wrong in the child
print(err)
os._exit(1)
# and commit
try:
child_ldb.transaction_commit()
# 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)
# We print this here to see what went wrong in the child
print(err)
os._exit(1)