Permalink
Browse files

Nix sphinx_locale

The switch to oedipus nixed all uses of this function, so we can make it
go away now.
  • Loading branch information...
1 parent 94f19bf commit cf7bf5d48a45dc0bd513786fa351dddd6da39003 @willkg willkg committed Nov 3, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 apps/search/utils.py
View
@@ -61,8 +61,3 @@ def locale_or_default(locale):
if locale not in LOCALES:
locale = settings.LANGUAGE_CODE
return locale
-
-
-def sphinx_locale(locale):
- """Given a locale string like 'en-US', return a Sphinx-ready locale."""
- return crc32(locale)

0 comments on commit cf7bf5d

Please sign in to comment.