Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File tg_18n_collect.patch,
1.2 KB
(added by Felix.Schwarz, 4 years ago) |
|
|
-
|
|
|
|
| 163 | 163 | for fname in self.list_message_catalogs(): |
| 164 | 164 | languages.append(fname.split(os.sep)[len(locale_dir_prefix):][0]) |
| 165 | 165 | import turbogears.i18n.utils as utils |
| 166 | | srcdir = self.options.source_dir or get_package_name() |
| | 166 | srcdir = self.options.source_dir |
| | 167 | if not srcdir: |
| | 168 | srcdir = get_package_name().split(".", 1)[0] |
| 167 | 169 | def list_js_files(): |
| 168 | 170 | for root, dirs, files in os.walk(srcdir): |
| 169 | 171 | if os.path.basename(root).lower() in ('cvs', '.svn'): |
| … |
… |
|
| 275 | 277 | source_files = [] |
| 276 | 278 | kid_files = [] |
| 277 | 279 | js_files = [] |
| 278 | | srcdir = self.options.source_dir or get_package_name() |
| | 280 | srcdir = self.options.source_dir |
| | 281 | if not srcdir: |
| | 282 | srcdir = get_package_name().split(".", 1)[0] |
| 279 | 283 | print 'Scanning source directory', srcdir |
| 280 | 284 | for root, dirs, files in os.walk(srcdir): |
| 281 | 285 | if os.path.basename(root).lower() in ('cvs', '.svn'): |
Download in other formats: