[sysadmin-bin] print changes before mismatch tables
- From: Olav Vitters <ovitters src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] print changes before mismatch tables
- Date: Fri, 25 Mar 2011 08:37:26 +0000 (UTC)
commit 1efe9856136c84ff7568db53a5adcfecbc10764f
Author: Olav Vitters <olav vitters nl>
Date: Fri Mar 25 09:37:19 2011 +0100
print changes before mismatch tables
handle-ldap-modules | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/handle-ldap-modules b/handle-ldap-modules
index 574ad0d..98ccd4e 100755
--- a/handle-ldap-modules
+++ b/handle-ldap-modules
@@ -611,9 +611,6 @@ if __name__ == '__main__':
vcs_uids, vcs_modules, vcs_descs, vcs_tarballs, INVALID, ONCE_VALID = m.get_maintainer_data_vcs()
- print_invalid(INVALID, False, "Invalid uids:")
- print_invalid(INVALID, True, "Mismatch between email addresses (DOAP vs LDAP):")
-
m.update_ldap_modules(vcs_modules, vcs_descs, vcs_tarballs, change=change_stuff, remove=True, verbose=True)
m.update_ldap_ftpbasic(vcs_uids, change=change_stuff, remove=True, verbose=True)
@@ -625,6 +622,8 @@ if __name__ == '__main__':
passwds = m.set_passwds(uids_give_passwd)
m.store_passwds(passwds)
+ print_invalid(INVALID, False, "Invalid uids:")
+ print_invalid(INVALID, True, "Mismatch between email addresses (DOAP vs LDAP):")
elif cmd == 'test-reset':
m.store_passwds({'ovitters': 'yeahright'})
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]