diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-18 08:05:11 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-18 08:05:11 (GMT) |
commit | 3552b9242884ddb5b9c33c1a980a08df725ae93a (patch) | |
tree | f9891d29c0ce1a05db8a4beb1bea44e6c5ac7d01 | |
parent | 1afe9273a1722938c4457d1c8512e6fd57619123 (diff) |
Create the locale dir if it does not exist.
-rw-r--r-- | sugar/activity/bundlebuilder.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 67bbe73..c7f637c 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -185,6 +185,10 @@ def cmd_uninstall(prefix): shutil.rmtree(path) def cmd_genpot(manifest): + locale_path = os.path.join(_get_source_path(), 'locale') + if not os.path.isdir(locale_path): + os.mkdir(locale_path) + python_files = [] file_list = _get_file_list(manifest) for file_name in file_list: |