Mercurial > p > roundup > code
comparison roundup/scripts/roundup_gettext.py @ 8091:586f76eb33e8
fix: keep python2 working a little longer.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 16 Jul 2024 02:10:25 -0400 |
| parents | f2b049b49fca |
| children | b6b0da04e768 |
comparison
equal
deleted
inserted
replaced
| 8090:4d6c817f709b | 8091:586f76eb33e8 |
|---|---|
| 19 osp.exists(rootdir + '/roundup/__init__.py')): | 19 osp.exists(rootdir + '/roundup/__init__.py')): |
| 20 # the script is located inside roundup source code | 20 # the script is located inside roundup source code |
| 21 sys.path.insert(0, rootdir) | 21 sys.path.insert(0, rootdir) |
| 22 # --/ | 22 # --/ |
| 23 | 23 |
| 24 | 24 from roundup.anypy import scandir_ |
| 25 from roundup import configuration | 25 from roundup import configuration |
| 26 from roundup.cgi.TAL import talgettext | 26 from roundup.cgi.TAL import talgettext |
| 27 from roundup.i18n import _ | 27 from roundup.i18n import _ |
| 28 from roundup.pygettext import TokenEater, make_escapes, tokenize | 28 from roundup.pygettext import TokenEater, make_escapes, tokenize |
| 29 | 29 |
