[Twisted-Python] Forcing adapter re-registration (patch)

jml at ids.org.au jml at ids.org.au
Wed Apr 16 04:16:26 MDT 2003


On Mon, Apr 14, 2003 at 08:56:10PM -0500, Glyph Lefkowitz wrote:
> On Tuesday, April 15, 2003, at 06:00 AM, jml at ids.org.au wrote:
> 
> >However, registerAdapter and rebuild don't play nicely together. On a 
> >rebuild,
> >registerAdapter tries to re-register stuff, and throws an exception.
> 
> Could you instead have a module flag "allowDuplicates" which would be 
> set by rebuild and unset when it was finished?

Done (in CVS).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20030416/3c71463c/attachment.sig>


More information about the Twisted-Python mailing list