diff options
Diffstat (limited to 'lib/ntdb/pyntdb.c')
-rw-r--r-- | lib/ntdb/pyntdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ntdb/pyntdb.c b/lib/ntdb/pyntdb.c index 1f80e4227b..1037f3c004 100644 --- a/lib/ntdb/pyntdb.c +++ b/lib/ntdb/pyntdb.c @@ -275,8 +275,6 @@ static PyObject *obj_has_key(PyNtdbObject *self, PyObject *args) key = PyString_AsNtdb_Data(py_key); if (ntdb_exists(self->ctx, key)) return Py_True; - if (ntdb_error(self->ctx) != NTDB_ERR_NOEXIST) - PyErr_NTDB_ERROR_IS_ERR_RAISE(ntdb_error(self->ctx)); return Py_False; } |