Permalink
Browse files

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

  • Loading branch information...
1 parent 14a06d6 commit 7c555a78996bc7b105a33c3d38bcbdf86f5ccf2c @drnextgis drnextgis committed Apr 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 2.object_security/demo.py
@@ -313,6 +313,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 7c555a7

Please sign in to comment.