thirdparty/google_appengine/lib/webob/tests/conftest.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 24 Jan 2009 23:56:34 +0000
changeset 970 8b5611d5b053
parent 109 620f9b141567
permissions -rwxr-xr-x
Use ugettext instead of ugettext_lazy Reports from Matthew Wilkes indicate that the regular form of ugettext works just fine. The downside of ugettext_lazy is that it prevents pages containing ugettext_lazy-ed text cannot be memcached, since they cannot be pickled. Patch by: Sverre Rabbelier

import os, sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
import pkg_resources
pkg_resources.require('WebOb')