Remove 'v' from full version `vX.Y.Z` and then return a tuple corresponding to the version
(version_to_parse)
| 19 | |
| 20 | |
| 21 | def __parse_version(version_to_parse): |
| 22 | """ |
| 23 | Remove 'v' from full version `vX.Y.Z` and then return a tuple corresponding to the version |
| 24 | """ |
| 25 | version_to_parse = version_to_parse.replace('v', '') # remove 'v' from full version `vX.Y.Z` |
| 26 | return tuple(map(int, version_to_parse.split(".")[0:3])) |
| 27 | |
| 28 | |
| 29 | def check_component_version(component, version): |
no outgoing calls
no test coverage detected