[Twisted-web] simple registry failure - __adapt__

charlie detar chazen at gmail.com
Sat Jan 7 12:26:10 MST 2006


Jean-Paul Calderone wrote:
> import myproject
> counter = myproject.globals.get(Counter, None)
> if counter is None:
>     counter = myproject.globals[Counter] = Counter()
>
> Hope this helps,

Very much so!  Thanks.

-Charlie



More information about the Twisted-web mailing list