diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-02-27 11:46:45 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-02-27 11:46:45 (GMT) |
commit | 6f210f0e33786570fcdb8235a41c2f9009e78576 (patch) | |
tree | 486cfc378ef906a464d78addd1a3f5faece54539 | |
parent | 7d693281621ae3bbec7beae20a1f3e6a7f0e5911 (diff) |
Process .py files in subdirectories './setup genplot' #391 (alsroot)
-rw-r--r-- | src/sugar/activity/bundlebuilder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py index ab3679b..71da0df 100644 --- a/src/sugar/activity/bundlebuilder.py +++ b/src/sugar/activity/bundlebuilder.py @@ -333,10 +333,10 @@ def cmd_genpot(config, args): os.mkdir(po_path) python_files = [] - for root_dummy, dirs_dummy, files in os.walk(config.source_dir): + for root, dirs_dummy, files in os.walk(config.source_dir): for file_name in files: if file_name.endswith('.py'): - python_files.append(file_name) + python_files.append(os.path.join(root, file_name)) # First write out a stub .pot file containing just the translated # activity name, then have xgettext merge the rest of the |