[BitTorrent] BitTorrent/zurllib.py patch
Wheeler, Frederick W (Research)
wheeler at crd.ge.com
Thu Jan 27 13:22:00 EST 2005
There is a BitTorrent/zurllib.py patch on this site,
This patch is also needed to get btdownloadcurses.py to work under the very
latest Cygwin, with python 2.4. I have tested this against the BitTorrent
CVS. Without the change I got diagnostics similar to those reported on the
above freebsd link. With the change btdownloadcurses.py works fine My own
cvs diffs are below.
cvs diff: Diffing .
cvs diff: Diffing BitTorrent
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/zurllib.py,v
retrieving revision 1.3
diff -r1.3 zurllib.py
< return addinfourldecompress(fp, headers, url)
> resp = addinfourldecompress(fp, headers, url)
> # As of Python 2.4 http_open response also has 'code' and 'msg'
> # members, and HTTPErrorProcessor breaks if they don't exist.
> if 'code' in dir(fp):
> resp.code = fp.code
> if 'msg' in dir(fp):
> resp.msg = fp.msg
> return resp
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
BitTorrent-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the BitTorrent