Friday, May 25, 2018

[389-commits] [389-ds-base] 01/01: Ticket 49576 - Add support of "; deletedattribute" in ds-replcheck

This is an automated email from the git hooks/post-receive script.

mreynolds pushed a commit to branch master
in repository 389-ds-base.

commit 9e046a35a0f771e77c788cddee2cbddee6ae0571
Author: Mark Reynolds <mreynolds@redhat.com>
Date: Fri May 25 09:47:31 2018 -0400

Ticket 49576 - Add support of ";deletedattribute" in ds-replcheck

Description: Also need to check for ";deletedattribute" when processing LDIF file

https://pagure.io/389-ds-base/issue/49576

Reviewed by: tbordaz(Thanks!)
---
ldap/admin/src/scripts/ds-replcheck | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/admin/src/scripts/ds-replcheck b/ldap/admin/src/scripts/ds-replcheck
index b801cca..661c9e0 100755
--- a/ldap/admin/src/scripts/ds-replcheck
+++ b/ldap/admin/src/scripts/ds-replcheck
@@ -197,7 +197,7 @@ def remove_attr_state_info(attr):
idx = attr.find(';')
if idx > 0:
state_attr = attr # preserve state info for diff report
- if ";deleted" in attr:
+ if ";deleted" in attr or ";deletedattribute" in attr:
# Ignore this attribute it was deleted
return None, state_attr
attr = attr[:idx]

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org/message/RTAXMQBBXC43CNQH7S5IWRGAWLEADXWT/

No comments:

Post a Comment