summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2010-08-11 12:20:31 +0200
committerMarcel Hellkamp <marc@gsites.de>2010-08-11 12:20:31 +0200
commit17e73088335d02101b4fae12b6351978a84b6e16 (patch)
treee1927ebfc60d1d4b1d62d323b6d79e296bdd8f90
parenta71b7a4744770c39984f41656fadd4a146b05bf3 (diff)
downloadbottle-17e73088335d02101b4fae12b6351978a84b6e16.tar.gz
fix: Removed redundant GeventServer class definition.
-rwxr-xr-xbottle.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bottle.py b/bottle.py
index 8fba11b..4ea06a8 100755
--- a/bottle.py
+++ b/bottle.py
@@ -1513,15 +1513,6 @@ class DieselServer(ServerAdapter):
app.run()
-class GeventServer(ServerAdapter):
- """ Untested. """
- def run(self, handler):
- from gevent import wsgi
- from gevent.hub import getcurrent
- self.set_context_ident(getcurrent, weakref=True) # see contextlocal
- wsgi.WSGIServer((self.host, self.port), handler).serve_forever()
-
-
class GunicornServer(ServerAdapter):
""" Untested. """
def run(self, handler):