Dead code in maybeDeferred()

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from amaury <None>:

In `defer.maybeDeferred`, the variable `deferred` is no more useful: it is always set to `None`, and the `else:` clause of the exception returns in every path.  Patch attached.

----------
Type     : enhancement
Component: core
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3894
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.