Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sugar/activity/bundlebuilder.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py
index 3e70b3c..5306de6 100644
--- a/src/sugar/activity/bundlebuilder.py
+++ b/src/sugar/activity/bundlebuilder.py
@@ -67,6 +67,15 @@ class _ManifestFileList(_DefaultFileList):
self.append(stripped_line)
f.close()
+class _AllFileList(list):
+ def __init__(self):
+ for root, dirs, files in os.walk('.'):
+ if not root.startswith('./locale'):
+ for f in files:
+ if not f.endswith('.xo') and \
+ f != '.gitignore':
+ self.append(os.path.join(root, f))
+
def _extract_bundle(source_file, dest_dir):
if not os.path.exists(dest_dir):
os.mkdir(dest_dir)
@@ -141,7 +150,7 @@ def _get_file_list(manifest):
elif os.path.isdir('.svn'):
return _SvnFileList()
else:
- return _DefaultFileList()
+ return _AllFileList()
def _get_po_list(manifest):
file_list = {}