0004-hobo_notify-deprovision-by-setting-the-deleted-flag-.patch
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 |
- |