1
0

Compare commits

..

No commits in common. "e26caaa98cc65b5da9f12468e36488605dc236d9" and "1f989184d249b8124147c704f63c1ae55874c648" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
__version__ = '0.1.70'
__version__ = '0.1.69'

View File

@ -55,8 +55,7 @@ This program collects several small data fetchers, for downloading personal
data spread around the internet.""".strip()
def parse_version_file(text: str) -> str:
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None:
msg = 'Malformed _version.py file!'
raise Exception(msg)