[sysadmin-bin] Remove trailing white spaces, still testing gitlab migration
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Remove trailing white spaces, still testing gitlab migration
- Date: Fri, 15 Dec 2017 19:05:24 +0000 (UTC)
commit 2c8db49ea1f0ff864151cf3c18f3d00c5f3b6503
Author: Andrea Veri <averi redhat com>
Date: Fri Dec 15 20:05:09 2017 +0100
Remove trailing white spaces, still testing gitlab migration
membership/migrate-foundation-field-to-freeipa.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/membership/migrate-foundation-field-to-freeipa.py
b/membership/migrate-foundation-field-to-freeipa.py
index bcf4ce2..3301258 100755
--- a/membership/migrate-foundation-field-to-freeipa.py
+++ b/membership/migrate-foundation-field-to-freeipa.py
@@ -75,7 +75,7 @@ def sync_attributes_to_freeipa():
if userid is not None and userid != '':
add_firstadded = [(ldap.MOD_ADD, 'FirstAdded', str(attribute))]
- l.modify_s('uid=%s,cn=users,cn=accounts,dc=gnome,dc=org' % str(userid), add_firstadded)
+ l.modify_s('uid=%s,cn=users,cn=accounts,dc=gnome,dc=org' % str(userid), add_firstadded)
def sync_changed_to_freeipa():
sync_members = {}
@@ -85,7 +85,7 @@ def sync_changed_to_freeipa():
attribute = member[1]
userid = member[0]
sync_members[userid] = attribute
-
+
if userid is not None and userid != '':
add_firstadded = [(ldap.MOD_ADD, 'LastRenewedOn', str(attribute))]
l.modify_s('uid=%s,cn=users,cn=accounts,dc=gnome,dc=org' % str(userid), add_firstadded)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]