Registers a post-hook to be run eventually. All commands given to this function will be run exactly once in the order they were given when :func:`run_saved_post_hooks` is called. :param str command: post-hook to register to be run
(command: str)
| 151 | |
| 152 | |
| 153 | def _run_eventually(command: str) -> None: |
| 154 | """Registers a post-hook to be run eventually. |
| 155 | |
| 156 | All commands given to this function will be run exactly once in the |
| 157 | order they were given when :func:`run_saved_post_hooks` is called. |
| 158 | |
| 159 | :param str command: post-hook to register to be run |
| 160 | |
| 161 | """ |
| 162 | if command not in post_hooks: |
| 163 | post_hooks.append(command) |
| 164 | |
| 165 | |
| 166 | def run_saved_post_hooks(renewed_sans: list[san.SAN], failed_sans: list[san.SAN]) -> None: |