Projet

Général

Profil

0001-wf-jump-remind-that-the-timeout-is-just-a-minimal-de.patch

Thomas Noël, 05 août 2022 16:08

Télécharger (1,19 ko)

Voir les différences:

Subject: [PATCH] wf/jump: remind that the timeout is just a minimal delay
 (#67993)

 wcs/wf/jump.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
wcs/wf/jump.py
219 219
            _hint = htmltext(
220 220
                _(
221 221
                    "ex.: 7 days 1 minute<br/> Usable units of time: %(variables)s. "
222
                    '<br/><span class="warning">Minimal duration is %(granularity)s</span>'
222
                    'Minimal duration is %(granularity)s.'
223
                    '<br/>'
224
                    'This is only the minimum waiting time guaranteed in the status: this waiting time can be longer.'
223 225
                )
224 226
            ) % {'variables': ', '.join(timewords()), 'granularity': seconds2humanduration(self._granularity)}
225 227
            if not isinstance(self.timeout, int) and self.get_expression(self.timeout)['type'] != 'text':
226
-