[Python-checkins] r80236 - python/trunk/Lib/test/test_urllib2net.py

Senthil Kumaran orsenthil at gmail.com
Wed Apr 21 03:35:58 CEST 2010


On Tue, Apr 20, 2010 at 08:26:51PM -0400, R. David Murray wrote:
> > +                        debug("read %d bytes" % len(buf))
...
> > -                debug("read %d bytes" % len(buf))
> 
> Is the deletion of the debug statement intentional?

Yup. It was just moved with a try block, Because it referenced 'buf'
which wont be available under an exception.

-- 
Senthil


More information about the Python-checkins mailing list