Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT.
authorAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 04:52:25 +0000 (14:52 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 04:55:38 +0000 (14:55 +1000)
commit465b879902dcf06940730ec41542fbdf7bd8dc08
treea91be208bca7e47ff3a1c3ceb10cf4228c51e47a
parentae8515d31b55bbe47b45aa2892d5d98000f645c4
Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT.

The LDB_ERR_NO_SUCH_OBJECT varient is not a defined variable. This
should improve error handling in our python code on some
systems. Unfortunately it still doesn't work on mine. I need to trap
Jelmer somewhere where he can't escape some day and force him to
divulge the deep druid secrets of python exception handling ....
source4/scripting/python/samba/__init__.py