pyldb: Report errors converting controls list to char**
commit379b919e4b5e0c309bd9ef65e84350760b788b03
authorPetr Viktorin <pviktori@redhat.com>
Tue, 3 Mar 2015 21:29:13 +0000 (3 22:29 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Mar 2015 22:20:06 +0000 (3 23:20 +0100)
treedab55edd6134786dcae81e96026f34519a57fcbe
parent229935e03686ebdbd4f01cd2939e4399b68c33ec
pyldb: Report errors converting controls list to char**

With this change, passing an unexpected type to the CRUD methods
will result in an informative TypeError.

Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.c