Guest User

Untitled

a guest
Apr 16th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. from keystone.server import wsgi as wsgi_server
  2.  
  3. # keystone uses sys.argv, finds gunicorn ones and crash because of them, strip this
  4. import sys
  5. sys.argv=sys.argv[:1]
  6.  
  7. application = wsgi_server.initialize_application("admin")
Advertisement
Add Comment
Please, Sign In to add comment