]>
Commit | Line | Data |
---|---|---|
70cfb266 | 1 | def run(action, wait_id=None, **kwargs): |
c4f4f2a1 IB |
2 | action.mapping.interrupt_wait(wait_id) |
3 | ||
4 | def description(action, wait_id=None, **kwargs): | |
21ffec31 IB |
5 | if wait_id is None: |
6 | return _("interrupt all waits") | |
7 | else: | |
8 | return _("interrupt wait with id {}").format(wait_id) |