diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-26 10:38:34 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-26 10:38:34 (GMT) |
commit | 7267047ce66ea3016c1100a6693e7444b179bfea (patch) | |
tree | 3195e56e4bfdc5224576e0fba2b04b71d223a821 /sugar | |
parent | 01edb130c178d8901c4e7f0af583f662c097e7b4 (diff) |
Strip the MANIFEST lines
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/activity/bundlebuilder.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 49c9389..6086de3 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -60,7 +60,9 @@ class _ManifestFileList(list): f = open(manifest,'r') for line in f.readlines(): - self.append(line[:-1]) + stripped_line = line.strip() + if stripped_line: + self.append(stripped_line) f.close() defaults = _DefaultFileList() |