[Twisted-Python] How is happened?

biziap biziap fetbiz at gmail.com
Mon Dec 22 03:48:18 EST 2008

I am trying to migrate to web2. And find the "OldRequestAdapter".
What I did is callling:

## in a resource of web2
def render(self,web2_request):
    request = twisted.web2.compat.makeOldRequestAdapter(web2_request)

  File "c:\python25\Lib\site-packages\twisted\web2\compat.py", line 336, in
    cookiename = string.join(['TWISTED_SESSION'] + self.sitepath, "_")
AttributeError: 'OldRequestAdapter' object has no attribute 'sitepath'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20081222/f3e9fde5/attachment.htm 

More information about the Twisted-Python mailing list