Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco 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)
commit7267047ce66ea3016c1100a6693e7444b179bfea (patch)
tree3195e56e4bfdc5224576e0fba2b04b71d223a821
parent01edb130c178d8901c4e7f0af583f662c097e7b4 (diff)
Strip the MANIFEST lines
-rw-r--r--sugar/activity/bundlebuilder.py4
-rwxr-xr-xtools/build-snapshot.sh2
2 files changed, 4 insertions, 2 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()
diff --git a/tools/build-snapshot.sh b/tools/build-snapshot.sh
index 2c93bde..0c35d36 100755
--- a/tools/build-snapshot.sh
+++ b/tools/build-snapshot.sh
@@ -1,6 +1,6 @@
VERSION=0.63
DATE=`date +%Y%m%d`
-RELEASE=2.60
+RELEASE=2.61
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
rm sugar-$VERSION.tar.bz2