0001-misc-ignore-missing-roles-during-provisionning-44525.patch
wcs/ctl/hobo_notify.py | ||
---|---|---|
143 | 143 |
role.remove_self() |
144 | 144 |
# All roles have been sent |
145 | 145 |
if full and action == 'provision': |
146 |
for role in Role.select(): |
|
147 |
if role.uuid not in uuids: |
|
146 |
for role in Role.select(ignore_errors=True):
|
|
147 |
if role and role.uuid not in uuids:
|
|
148 | 148 |
role.remove_self() |
149 | 149 | |
150 | 150 |
@classmethod |
151 |
- |