(version_str)
| 109 | |
| 110 | |
| 111 | def _check_version(version_str): |
| 112 | search = VERSION_PATTERN.search(version_str) |
| 113 | |
| 114 | if not search: |
| 115 | return False |
| 116 | |
| 117 | version = (int(search.group(1)), int(search.group(2))) |
| 118 | |
| 119 | if version >= (3, 10): |
| 120 | return True |
| 121 | |
| 122 | print('Incompatible python version for Certbot found: {0}'.format(version_str)) |
| 123 | return False |
| 124 | |
| 125 | |
| 126 | def subprocess_with_print(cmd, env=None, shell=False): |
no test coverage detected