This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit 8808f1a9e85aeb44942312f494a1a8b7a0e5ded1
Author: Thierry bordaz (tbordaz) <tbordaz(a)redhat.com>
Date: Fri Dec 20 18:46:23 2013 +0100
Ticket 47652 - replica add fails: MT.list return a list not an entry
Reviewed by: Nathan Kinder
---
src/lib389/lib389/brooker.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib389/lib389/brooker.py b/src/lib389/lib389/brooker.py
index 26405a5..3d43009 100644
--- a/src/lib389/lib389/brooker.py
+++ b/src/lib389/lib389/brooker.py
@@ -681,7 +681,8 @@ class Replica(object):
# create replica entry in mapping-tree
nsuffix = normalizeDN(suffix)
- mtent = self.conn.mappingtree.list(suffix=suffix)
+ mtents = self.conn.mappingtree.list(suffix=suffix)
+ mtent = mtents[0]
dn_replica = ','.join(("cn=replica", mtent.dn))
try:
entry = self.conn.getEntry(dn_replica, ldap.SCOPE_BASE)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.