diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-25 17:34:11 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-25 17:34:11 (GMT) |
commit | ad23ceac8dea78801cde836a25bd00614ef69658 (patch) | |
tree | 3b7526191443d8a2a1ed97258c597cac8606cf46 /sugar/activity | |
parent | 318439ab274a3f920f0e7a267d07f2613e635e35 (diff) |
Fix last fix.
Diffstat (limited to 'sugar/activity')
-rw-r--r-- | sugar/activity/bundlebuilder.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index c6ae593..bd0569e 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -145,8 +145,9 @@ def _get_file_list(manifest): def _include_mo_in_bundle(bundle_zip): for langdir in os.listdir('locale'): - if os.path.isdir(os.path.join('locale', langdir)): - for filename in os.listdir(os.path.join('locale', langdir, 'LC_MESSAGES')): + if os.path.isdir(os.path.join('locale', langdir, 'LC_MESSAGES')): + for filename in os.listdir(os.path.join('locale', langdir, + 'LC_MESSAGES')): if filename.endswith('.mo'): arcname = os.path.join(_get_bundle_name() + '.activity', 'locale', langdir, 'LC_MESSAGES', |