The Samba-Bugzilla – Bug 7416
python-tdb: KeyError: 'No such TDB entry' is unhelpful
Last modified: 2016-01-19 12:31:19 UTC
Python default dictionaries raise KeyError(key_that_was_not_found). TDB raises KeyError('No such TDB entry'). This is less helpful, as the interesting knowledge of what the key was is lost. TDB should raise KeyError(key_that_was_not_found) too.
Created attachment 11267 [details]
Patch was pushed to master some time ago.