File: 02-fix_autoserver_ordering.patch

package info (click to toggle)
python-bottle 0.10.11-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,332 kB
  • sloc: python: 4,605; makefile: 191
file content (21 lines) | stat: -rw-r--r-- 680 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: David Paleino <dapal@debian.org>
Subject: move CherryPyServer later in the list, given
 that it sucks more.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586316
Forwarded: no

---
 bottle.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- python-bottle.orig/bottle.py
+++ python-bottle/bottle.py
@@ -1850,7 +1850,7 @@ class BjoernServer(ServerAdapter):
 
 class AutoServer(ServerAdapter):
     """ Untested. """
-    adapters = [PasteServer, CherryPyServer, TwistedServer, WSGIRefServer]
+    adapters = [PasteServer, TwistedServer, CherryPyServer, WSGIRefServer]
     def run(self, handler):
         for sa in self.adapters:
             try: