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:
parent
e7e9a8796d
commit
6158c13f74
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ def read_meta():
|
||||||
m = re.match('__version__ = "(\S*).*"', line)
|
m = re.match('__version__ = "(\S*).*"', line)
|
||||||
if m:
|
if m:
|
||||||
version, = m.groups()
|
version, = m.groups()
|
||||||
|
break
|
||||||
|
|
||||||
with open("README.rst") as f:
|
with open("README.rst") as f:
|
||||||
long_desc = f.read()
|
long_desc = f.read()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue