Fix parsing
This commit is contained in:
parent
764cd49bfb
commit
f65c507e10
@ -83,8 +83,8 @@ def cmd_build_snapshot():
|
|||||||
sugar_news += '%s - %s - %s\n\n' % (name, version, alphatag)
|
sugar_news += '%s - %s - %s\n\n' % (name, version, alphatag)
|
||||||
|
|
||||||
f = open('NEWS', 'r')
|
f = open('NEWS', '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