Ticket #6610: patch.txt

File patch.txt, 678 bytes (added by jedie, 8 years ago)
Line 
1Index: ./django/core/servers/fastcgi.py
2===================================================================
3--- ./django/core/servers/fastcgi.py    (revision 7120)
4+++ ./django/core/servers/fastcgi.py    (working copy)
5@@ -69,6 +69,7 @@
6     'minspare': 2,
7     'maxchildren': 50,
8     'maxrequests': 0,
9+    'debug': False, # flup tracebacks
10 }
11
12 def fastcgi_help(message=None):
13@@ -119,8 +120,6 @@
14     else:
15         return fastcgi_help("ERROR: Implementation must be one of prefork or thread.")
16
17-    wsgi_opts['debug'] = False # Turn off flup tracebacks
18-
19     try:
20         WSGIServer = getattr(__import__('flup.' + flup_module, '', '', flup_module), 'WSGIServer')
21     except:
Back to Top