Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from keystone.server import wsgi as wsgi_server
- # keystone uses sys.argv, finds gunicorn ones and crash because of them, strip this
- import sys
- sys.argv=sys.argv[:1]
- application = wsgi_server.initialize_application("admin")
Advertisement
Add Comment
Please, Sign In to add comment