From 3fe887026d035422a01a8bf5c76686370ed58dd5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 28 May 2011 17:06:55 +0200 Subject: fix dlc, new cli functions, new locale --- locale/generate_locale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/generate_locale.py') diff --git a/locale/generate_locale.py b/locale/generate_locale.py index cc2a064a6..d519ca35f 100644 --- a/locale/generate_locale.py +++ b/locale/generate_locale.py @@ -73,7 +73,6 @@ print "Generate cli.pot" f = open("includes.txt", "wb") f.write("./pyLoadCli.py\n") -f.close() for path, dir, filenames in walk("./module/cli"): if [True for x in EXCLUDE if x in path]: continue @@ -81,6 +80,7 @@ for path, dir, filenames in walk("./module/cli"): if file.endswith(".py") and file not in EXCLUDE: f.write(join(path, file) + "\n") +f.close() call(["xgettext", "--files-from=includes.txt", "--default-domain=cli"] + options) -- cgit v1.2.3