Ticket #1779 (closed defect: fixed)
[Patch] tg-admin i18n collect does not work for nested packages
| Reported by: | Felix.Schwarz | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.x bugfix |
| Component: | TurboGears | Version: | 1.0.4.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If the tg application uses a package_dir which contains dots (like 'foo.test'), "tg-admin i18n collect" stops working because it uses get_package_name() to find the root directory and a directory 'foo.test' does not exist.
The attached patch fixes this by splitting the package name. This should have no effects when using an "easy" package name like "foo".
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
