aboutsummaryrefslogtreecommitdiff
path: root/net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py')
-rw-r--r--net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py b/net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py
deleted file mode 100644
index fcb590ce108a..000000000000
--- a/net/py-bittorrent-devel/files/patch-BitTorrent__NewVersion.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- BitTorrent/NewVersion.py.orig Sun Nov 20 23:10:09 2005
-+++ BitTorrent/NewVersion.py Sun Nov 20 23:10:37 2005
-@@ -127,7 +127,7 @@
- self.threadwrap(self.errorfunc, WARNING, '\n'.join(terrors))
-
- if torrentfile and signature:
-- public_key_file = open(os.path.join(doc_root, 'public.key'), 'rb')
-+ public_key_file = open(os.path.join(%%DATADIR%%, 'public.key'), 'rb')
- public_key = pickle.load(public_key_file)
- h = sha(torrentfile).digest()
- if public_key.verify(h, signature):