[Twisted-Python] failure.Failure

Itamar Shtull-Trauring twisted at itamarst.org
Mon May 6 05:47:13 EDT 2002


Christopher Armstrong wrote:

> Check this out from forum/gadgets.py:
> 
>     def _errIdentity(self, failure):
>         if failure.trap(self.manager.dbpool.dbapi.OperationalError):
>             return self.tryAgain("This identity is already taken.",
>                                  self.request)

Forum code in general is problematic. And on an unrelated note, it should
probably be moved into its own repository as was done to bugs.







More information about the Twisted-Python mailing list