[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-834-gc173c1b

Matthias Dieter Wallnöfer mdw at samba.org
Thu Oct 1 06:04:28 MDT 2009


The branch, master has been updated
       via  c173c1beb1334fcdcf55e458430341f193482b2e (commit)
      from  54ea150f364f9c39a9f0a2abe5a98e82df62845a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c173c1beb1334fcdcf55e458430341f193482b2e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date:   Thu Oct 1 14:02:59 2009 +0200

    s4:pyldb - Wrong error type (found only after the push)

-----------------------------------------------------------------------

Summary of changes:
 source4/lib/ldb/pyldb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c
index 0dac61b..4d7a34c 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;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list