Fixing get text
Change-Id: Idd105068e17cb6ab6783b8242f1d40e0e088eae1
This commit is contained in:
parent
46adc4c25c
commit
57c5fd4a25
@ -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')
|
||||
|
@ -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):
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user