Projet

Général

Profil

0001-misc-ignore-missing-roles-during-provisionning-44525.patch

Frédéric Péters, 27 juin 2020 19:35

Télécharger (933 octets)

Voir les différences:

Subject: [PATCH] misc: ignore missing roles during provisionning (#44525)

 wcs/ctl/hobo_notify.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
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
-