Create the locale dir if it does not exist.

This commit is contained in:
Marco Pesenti Gritti 2007-06-18 10:05:11 +02:00
parent 1afe9273a1
commit 3552b92428

View File

@ -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: