Projet

Général

Profil

0004-hobo_notify-deprovision-by-setting-the-deleted-flag-.patch

Benjamin Dauvergne, 04 octobre 2018 23:42

Télécharger (946 octets)

Voir les différences:

Subject: [PATCH 4/4] hobo_notify: deprovision by setting the deleted flag
 (#24430)

 wcs/ctl/hobo_notify.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/ctl/hobo_notify.py
207 207
                    uuid = o['uuid']
208 208
                    users = User.get_users_with_name_identifier(uuid)
209 209
                    for user in users:
210
                        user.remove_self()
210
                        user.deleted = True
211
                        user.store()
211 212
            except Exception, e:
212 213
                publisher.notify_of_exception(sys.exc_info(), context='[PROVISIONNING]')
213 214

  
214
-