Fix last fix.

This commit is contained in:
Tomeu Vizoso 2007-03-25 19:34:11 +02:00
parent 318439ab27
commit ad23ceac8d

View File

@ -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',