diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-12-04 16:36:56 +0100 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-12-04 16:36:56 +0100 |
| commit | 23d5e09e286cf7d5d8f80ac8d6f3313a50bb0ea3 (patch) | |
| tree | 3a7c2b5a7c1929b2e423933252b43b579209e42b /bin/tools/translate.py | |
| parent | 086fbc2d4d986e9d22d13c4ad65fd9fade250b44 (diff) | |
[IMP] move oswalksymlinks to a new module tools.osutil
bzr revid: christophe@tinyerp.com-20081204153656-l247acif1eqvyvl0
Diffstat (limited to 'bin/tools/translate.py')
| -rw-r--r-- | bin/tools/translate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/translate.py b/bin/tools/translate.py index 5163fa6c7e4..8a20541210f 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -452,7 +452,7 @@ def trans_generate(lang, modules, dbname=None): installed_modids = modobj.search(cr, uid, [('state', '=', 'installed')]) installed_modules = map(lambda m: m['name'], modobj.read(cr, uid, installed_modids, ['name'])) - for root, dirs, files in tools.oswalksymlinks(tools.config['root_path']): + for root, dirs, files in tools.osutil.walksymlinks(tools.config['root_path']): for fname in fnmatch.filter(files, '*.py'): fabsolutepath = join(root, fname) frelativepath = fabsolutepath[len(tools.config['root_path'])+1:] |
