Fixing get text

Change-Id: Idd105068e17cb6ab6783b8242f1d40e0e088eae1
This commit is contained in:
John Bresnahan 2013-08-01 11:35:01 -10:00
parent 46adc4c25c
commit 57c5fd4a25
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,5 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import gettext
gettext.install('staccato', unicode=1)
from staccato.openstack.common import gettextutils
gettextutils.install('staccato')

View File

@ -37,6 +37,7 @@ class UnauthTestMiddleware(os_context.ContextMiddleware):
class AuthContextMiddleware(os_context.ContextMiddleware):
def __init__(self, app, options):
self.options = options
print options
super(AuthContextMiddleware, self).__init__(app, options)
def process_request(self, req):

View File

@ -14,3 +14,4 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.