[Twisted-Python] oops
Christopher Armstrong
radix at twistedmatrix.com
Tue Feb 25 17:21:02 EST 2003
On Tue, Feb 25, 2003 at 01:57:35PM +0200, Jaakko Niemi wrote:
>
> Setting up python2.1-twisted (1.0.3-1) ...
> /usr/lib/python2.1/site-packages/twisted/spread/ui/gtk2util.py:179:
> SyntaxWarning: local name 'msg' in '_ebFailedLogin' shadows use of
> 'msg' as global in nested scope 'lambda'
> def _ebFailedLogin(self, reason):
>
> /usr/lib/python2.1/site-packages/twisted/spread/ui/gtk2util.py:179:
> SyntaxWarning: local name 'msg' in '_ebFailedLogin' shadows use of
> 'msg' as global in nested scope 'lambda'
> def _ebFailedLogin(self, reason):
I see that exarkun fixed it, but it really doesn't matter; gtk2util.py
only works with 2.2, anyway (which has nested_scopes on by default). I
guess it's nice to get rid of the warning, though. :-)
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix | Release Manager, Twisted Project
---------+ http://twistedmatrix.com/users/radix.twistd/
More information about the Twisted-Python
mailing list