0001-wf-jump-remind-that-the-timeout-is-just-a-minimal-de.patch
wcs/wf/jump.py | ||
---|---|---|
218 | 218 |
if 'timeout' in parameters: |
219 | 219 |
_hint = htmltext( |
220 | 220 |
_( |
221 |
"ex.: 7 days 1 minute<br/> Usable units of time: %(variables)s. " |
|
222 |
'<br/><span class="warning">Minimal duration is %(granularity)s</span>' |
|
221 |
'ex.: 1 day 12 hours<br/>' |
|
222 |
'Usable units of time: %(variables)s.<br/>' |
|
223 |
'This is only the minimum delay guaranteed in the status: the actual delay can be longer.' |
|
223 | 224 |
) |
224 | 225 |
) % {'variables': ', '.join(timewords()), 'granularity': seconds2humanduration(self._granularity)} |
225 | 226 |
if not isinstance(self.timeout, int) and self.get_expression(self.timeout)['type'] != 'text': |
226 |
- |