[Twisted-Python] Work around pyflakes errors
Adi Roiban
adi at roiban.ro
Mon Mar 10 03:42:03 MDT 2014
On 10 March 2014 00:04, <exarkun at twistedmatrix.com> wrote:
> Cool. I always forget about the other APIs since `namedAny` works for
> anything. :) `namedModule` seems like a great fit here.
>
> Jean-Paul
I have implemented a requireModule helper to handle the try/except
ImporError code which would create a lot of code duplication when used
with `namedAny`
https://twistedmatrix.com/trac/ticket/7014
If 7014 is accepted I could go and update existing pyflakes reviews to
use the new code.
--
Adi Roiban
More information about the Twisted-Python
mailing list