1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 18:29:19 +02:00

Break looping through __init__.py lines after version string is found in read_metadata()

This commit is contained in:
sergey 2019-04-09 09:51:07 +03:00
parent e7e9a8796d
commit 6158c13f74

View file

@ -33,6 +33,7 @@ def read_meta():
m = re.match('__version__ = "(\S*).*"', line)
if m:
version, = m.groups()
break
with open("README.rst") as f:
long_desc = f.read()