MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / get_rc_version

Function get_rc_version

deploy.py:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26rc_encoding = 'utf-16-le'
27
28def get_rc_version ():
29 with open(rc_path, encoding=rc_encoding) as f:
30 for line in f:
31 m = version_str.match (line)
32 if m:
33 return m.group (2)
34
35comma_version_str = [
36re.compile (r'(\s*VALUE "ProductVersion", ")([0-9,]*)(")'),

Callers 1

deploy.pyFile · 0.85

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected