Changeset 762
- Timestamp:
- 10/01/05 11:45:16 (3 years ago)
- Files:
-
- django/branches/i18n/django/utils/translation.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/i18n/django/utils/translation.py
r759 r762 201 201 202 202 langs = [_parsed(el) for el in accept.split(',')] 203 langs.sort(lambda a,b: cmp(a[1], b[1]))203 langs.sort(lambda a,b: -1*cmp(a[1], b[1])) 204 204 205 205 globalpath = os.path.join(os.path.dirname(settings.__file__), 'locale')
