From f65c507e10e0d56a313768af26afa8ff78743d63 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 9 Jul 2007 19:37:30 +0200 Subject: [PATCH] Fix parsing --- maint-helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maint-helper.py b/maint-helper.py index 9b76d519..8c64ca2d 100755 --- a/maint-helper.py +++ b/maint-helper.py @@ -83,8 +83,8 @@ def cmd_build_snapshot(): sugar_news += '%s - %s - %s\n\n' % (name, version, alphatag) f = open('NEWS', 'r') - for line in f.readline(): - if len(line) > 0: + for line in f.readlines(): + if len(line.strip()) > 0: sugar_news += line else: break