From ad23ceac8dea78801cde836a25bd00614ef69658 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sun, 25 Mar 2007 17:34:11 +0000 Subject: Fix last fix. --- (limited to 'sugar') 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', -- cgit v0.9.1