FreeBSD Bugzilla – Attachment 48957 Details for
Bug 74883
Python 2.4 upgrade breaks port net/py-bittorrent [fix included]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.03 KB, created by
Jonathan Lennox
on 2004-12-09 03:30:21 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jonathan Lennox
Created:
2004-12-09 03:30:21 UTC
Size:
1.03 KB
patch
obsolete
>--- Makefile~ Mon Nov 8 16:08:56 2004 >+++ Makefile Wed Dec 8 22:23:42 2004 >@@ -7,7 +7,7 @@ > > PORTNAME= BitTorrent > PORTVERSION= 3.4.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 1 > CATEGORIES?= net python > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} >--- /dev/null Wed Dec 8 22:22:00 2004 >+++ files/patch-BitTorrent::zurllib.py Wed Dec 8 22:23:26 2004 >@@ -0,0 +1,18 @@ >+--- BitTorrent/zurllib.py.bak Thu Jun 26 20:40:21 2003 >++++ BitTorrent/zurllib.py Wed Dec 8 22:21:26 2004 >+@@ -35,7 +35,14 @@ >+ if DEBUG: >+ pprint.pprint(headers.dict) >+ url = fp.url >+- 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 >+ >+ >+ class addinfourldecompress(addinfourl):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74883
: 48957