pydsdb: Give KeyError when we fail a schema lookup in python
commitc3e535362f6ad3c6940c96b061dd00d52d7bfb76
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 Sep 2013 00:45:01 +0000 (22 17:45 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Sep 2013 07:28:59 +0000 (27 09:28 +0200)
treed31d49a18f22340d95a08ba4e3da1e4039ec1b3f
parentf0e374f6aa6cbdc0bec3c2af0edc92f3c56c35e6
pydsdb: Give KeyError when we fail a schema lookup in python

This allows sensible exception handling.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 51101b310adedb4eeb4c4382e631594ffa679ff2)
source4/dsdb/pydsdb.c