diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index c6ae593b..bd0569e6 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',