pypassdb: Do not use pytalloc_Object directly
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Feb 2016 03:27:12 +0000 (16:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:29 +0000 (01:58 +0100)
commite622411c488772fd20e94d3e13aff2a0db0ecf13
tree1297a0bc6f24411f61fc5ca098c3a74efabfa787
parent750632199641ff437585bc3a6835e282ce1d5395
pypassdb: Do not use pytalloc_Object directly

This type should not be used directly, it should have been made private
to pytalloc.  This then allows removal of the (PyCFunction) cast

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source3/passdb/py_passdb.c