MCPcopy Index your code
hub / github.com/certbot/certbot / _check_version

Function _check_version

tools/venv.py:111–123  ·  view source on GitHub ↗
(version_str)

Source from the content-addressed store, hash-verified

109
110
111def _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
126def subprocess_with_print(cmd, env=None, shell=False):

Callers 1

find_python_executableFunction · 0.85

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected