[sysadmin-bin] This function was imported from glu
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] This function was imported from glu
- Date: Fri, 13 Oct 2017 16:15:16 +0000 (UTC)
commit ccd1e5f4a3a8364aa821e28484005f991e4be48b
Author: Andrea Veri <averi redhat com>
Date: Fri Oct 13 18:15:09 2017 +0200
This function was imported from glu
cleanup-inactive-ldap-accounts.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cleanup-inactive-ldap-accounts.py b/cleanup-inactive-ldap-accounts.py
index 6cf0d5a..cd3fa59 100755
--- a/cleanup-inactive-ldap-accounts.py
+++ b/cleanup-inactive-ldap-accounts.py
@@ -69,11 +69,11 @@ def add_remove_comment_to_user(username, group):
if current_comment is None:
comment = new_comment
- add_or_update_description(username, comment, add=True)
+ glu.add_or_update_description(username, comment, add=True)
else:
comment = '%s. %s' % (current_comment, new_comment)
- add_or_update_description(username, comment, update=True)
+ glu.add_or_update_description(username, comment, update=True)
form_letter = """
Hello %s, your membership of the group %s has been automatically removed, due to inactivity.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]