diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-01 14:02:59 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-01 14:02:59 +0200 |
commit | c173c1beb1334fcdcf55e458430341f193482b2e (patch) | |
tree | 7ff9f2886489dc7cd19375528be264a45aca7e1e /source4/lib | |
parent | 54ea150f364f9c39a9f0a2abe5a98e82df62845a (diff) | |
download | samba-c173c1beb1334fcdcf55e458430341f193482b2e.tar.gz samba-c173c1beb1334fcdcf55e458430341f193482b2e.tar.bz2 samba-c173c1beb1334fcdcf55e458430341f193482b2e.zip |
s4:pyldb - Wrong error type (found only after the push)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/pyldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 0dac61b8b7..4d7a34c04f 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -957,7 +957,7 @@ static PyObject *py_ldb_msg_diff(PyLdbObject *self, PyObject *args) diff = ldb_msg_diff(PyLdb_AsLdbContext(self), PyLdbMessage_AsMessage(py_msg_old), PyLdbMessage_AsMessage(py_msg_new)); if (!diff) { - PyErr_SetString(PyExc_KeyError, "Failed to generate the Ldb Message diff"); + PyErr_SetString(PyExc_RuntimeError, "Failed to generate the Ldb Message diff"); return NULL; } |