summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:16:08 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:16:08 -0500
commita0def386845ca470160dcaceeb2138b4f366d1e6 (patch)
tree9a3010aebf09b4df7a10d9f467c8b46ead9f516c
parent135cfcb490440a1a690d82cac4e9665165b0df98 (diff)
downloadnohgooee-a0def386845ca470160dcaceeb2138b4f366d1e6.tar.gz
nohgooee-a0def386845ca470160dcaceeb2138b4f366d1e6.tar.xz
nohgooee-a0def386845ca470160dcaceeb2138b4f366d1e6.zip
Apply Patch2 from Fedora RPMs
-rw-r--r--BitTorrent/NewVersion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BitTorrent/NewVersion.py b/BitTorrent/NewVersion.py
index 7a61ab7..25445ae 100644
--- a/BitTorrent/NewVersion.py
+++ b/BitTorrent/NewVersion.py
@@ -166,7 +166,7 @@ class Updater(object):
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('@@PKIDIR@@/bittorrent/public.key', 'rb')
public_key = pickle.load(public_key_file)
h = sha(torrentfile).digest()
if public_key.verify(h, signature):