Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/maint-helper.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-07-09 17:37:30 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-07-09 17:37:30 (GMT)
commitf65c507e10e0d56a313768af26afa8ff78743d63 (patch)
tree481a2fa120fb9b52d922ce810635147b256ae135 /maint-helper.py
parent764cd49bfb0596c780554078d9c3b2e121a9aa30 (diff)
Fix parsing
Diffstat (limited to 'maint-helper.py')
-rwxr-xr-xmaint-helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/maint-helper.py b/maint-helper.py
index 9b76d51..8c64ca2 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