Permalink
Browse files

paste.httpserver.serve -> wsgiref.simple_server.make_server

  • Loading branch information...
1 parent 17ed586 commit 14a06d6369d91961aa1b02b187045ad112f1cc3c @drnextgis drnextgis committed Apr 9, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 1.group_security/demo.py
@@ -279,5 +279,6 @@ def main(global_settings, **settings):
}
app = main({}, **settings)
- from paste.httpserver import serve
- serve(app, host='0.0.0.0', port='5000')
+ from wsgiref.simple_server import make_server
+ server = make_server('0.0.0.0', 5000, app)
+ server.serve_forever()

0 comments on commit 14a06d6

Please sign in to comment.