0001-hobo-do-not-deprovision-users-41922.patch
wcs/ctl/hobo_notify.py | ||
---|---|---|
208 | 208 |
elif action == 'deprovision': |
209 | 209 |
if 'uuid' not in o: |
210 | 210 |
raise KeyError('user without uuid') |
211 |
uuid = o['uuid'] |
|
212 |
users = User.get_users_with_name_identifier(uuid) |
|
213 |
for user in users: |
|
214 |
user.remove_self() |
|
211 |
# do not remove for real |
|
212 |
pass |
|
215 | 213 |
except Exception as e: |
216 | 214 |
publisher.notify_of_exception(sys.exc_info(), context='[PROVISIONNING]') |
217 | 215 | |
218 |
- |