1
0

Compare commits

..

No commits in common. "b7310e2ed84e8802ee96be5c2c2428175725e2a3" and "943f485bf5333f36a809e9d5c69825e58fc44c61" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
__version__ = '0.1.35'
__version__ = '0.1.34'

View File

@ -24,8 +24,7 @@ PACKAGE_DESCRIPTION_SHORT = """
Utility for standarized usage of HTTP requests extension libraries in a modular fashion across different libraries.""".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)