Commit 2c8db49e authored by Andrea Veri's avatar Andrea Veri

Remove trailing white spaces, still testing gitlab migration

parent 850cb00b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment