Projet

Général

Profil

0001-workflows-don-t-fail-on-incomplete-global-anchor-dat.patch

Frédéric Péters, 06 avril 2021 17:29

Télécharger (1 ko)

Voir les différences:

Subject: [PATCH] workflows: don't fail on incomplete global anchor date
 template (#52785)

 wcs/workflows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/workflows.py
1294 1294
                        anchor_date = evolution.time
1295 1295
                    else:
1296 1296
                        break
1297
        elif self.anchor == 'template':
1297
        elif self.anchor == 'template' and self.anchor_template:
1298 1298
            variables = get_publisher().substitutions.get_context_variables(mode='lazy')
1299 1299
            anchor_date = Template(self.anchor_template, autoescape=False).render(variables)
1300 1300
        elif self.anchor == 'python':
1301
-