equal
deleted
inserted
replaced
1 """Some i18n/gettext utilities. |
1 """Some i18n/gettext utilities. |
2 |
2 |
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 """ |
6 """ |
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 import re |
9 import re |
10 import os |
10 import os |
11 from os.path import join, abspath, basename, splitext, exists |
11 from os.path import join, basename, splitext, exists |
12 from glob import glob |
12 from glob import glob |
13 |
13 |
14 from cubicweb.toolsutils import create_dir |
14 from cubicweb.toolsutils import create_dir |
15 |
15 |
16 def extract_from_tal(files, output_file): |
16 def extract_from_tal(files, output_file): |
88 # clean everything |
88 # clean everything |
89 os.unlink(mergedpo) |
89 os.unlink(mergedpo) |
90 except Exception: |
90 except Exception: |
91 continue |
91 continue |
92 return errors |
92 return errors |
93 |
|