Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 14a06d6369d91961aa1b02b187045ad112f1cc3c 1 parent 17ed586
@drnextgis drnextgis authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 1.group_security/demo.py
View
5 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()
Please sign in to comment.
Something went wrong with that request. Please try again.