Fix parsing bug
This commit is contained in:
parent
f65c507e10
commit
1ae7a908ea
@ -270,8 +270,8 @@ def cmd_release(bundle_name, manifest):
|
|||||||
sugar_news += '%s - %d\n\n' % (bundle_name, version)
|
sugar_news += '%s - %d\n\n' % (bundle_name, version)
|
||||||
|
|
||||||
f = open(news_path,'r')
|
f = open(news_path,'r')
|
||||||
for line in f.readline():
|
for line in f.readlines():
|
||||||
if len(line) > 0:
|
if len(line.strip()) > 0:
|
||||||
sugar_news += line
|
sugar_news += line
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user