Modify ↓
Opened 16 years ago
Closed 16 years ago
#7469 closed defect (fixed)
Refactoring gone bad, patch to correct
Reported by: | Pedro Algarvio, aka, s0undt3ch | Owned by: | Jeroen Ruigrok van der Werven |
---|---|---|---|
Priority: | highest | Milestone: | 0.12 |
Component: | general | Version: | 0.12dev |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The correct refactoring would have been:
-
trac/web/main.py
276 276 translation.get_available_locales()] 277 277 278 278 preferred = req.session.get('language', req.languages) 279 if isinstance(preferred, list):279 if not isinstance(preferred, list): 280 280 preferred = [preferred] 281 281 return Locale.negotiate(preferred, available, sep='-')
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Owner: | set to |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in r7412. Thanks.