[Medusa-dev] status_handler + auth_handler combination problem
Andrew Kuchling
akuchlin@mems-exchange.org
Mon Nov 25 19:39:28 2002
On Fri, Nov 22, 2002 at 07:53:47PM +0100, Sergio Fernandez wrote:
> error: Server Error: exceptions.AttributeError, fifo instance has no attribute '__getitem__': file: /usr/lib/python2.2/site-packages/medusa/producers.py line: 155
> error: uncaptured python exception, closing channel
Try the patch below.
After this patch, the http_server.fifo class seems to be unused, so
I'm going to remove it.
--amk
Index: auth_handler.py
===================================================================
RCS file: /cvsroot/oedipus/medusa/auth_handler.py,v
retrieving revision 1.5
diff -u -r1.5 auth_handler.py
--- auth_handler.py 23 Mar 2002 15:00:42 -0000 1.5
+++ auth_handler.py 25 Nov 2002 19:38:16 -0000
@@ -20,7 +20,6 @@
get_header = default_handler.get_header
-import http_server
import producers
# This is a 'handler' that wraps an authorization method
@@ -117,9 +116,7 @@
r.append (
producers.simple_producer ('</ul>')
)
- return producers.composite_producer (
- http_server.fifo (r)
- )
+ return producers.composite_producer(r)
class dictionary_authorizer:
def __init__ (self, dict):
More information about the Medusa-dev
mailing list