MCPcopy Create free account
hub / github.com/apache/httpd / _versiontuple

Method _versiontuple

test/pyhttpd/env.py:483–485  ·  view source on GitHub ↗
(self, v)

Source from the content-addressed store, hash-verified

481 return []
482
483 def _versiontuple(self, v):
484 v = re.sub(r'(\d+\.\d+(\.\d+)?)(-\S+)?', r'\1', v)
485 return tuple(map(int, v.split('.')))
486
487 def httpd_is_at_least(self, minv):
488 hv = self._versiontuple(self.get_httpd_version())

Callers 4

httpd_is_at_leastMethod · 0.95
h2load_is_at_leastMethod · 0.95
curl_is_at_leastMethod · 0.95
curl_is_less_thanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected