![](https://secure.gravatar.com/avatar/41e7d91156750be9c240a2597eadbb94.jpg?s=120&d=mm&r=g)
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): --j
![](https://secure.gravatar.com/avatar/3a7e70f3ef2ad1539da42afc85c8d09d.jpg?s=120&d=mm&r=g)
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/
participants (2)
-
Christopher Armstrong
-
Jaakko Niemi