[Pypi-checkins] r921 - trunk/pypi

martin.von.loewis python-checkins at python.org
Wed Apr 27 21:41:08 CEST 2011


Author: martin.von.loewis
Date: Wed Apr 27 21:41:08 2011
New Revision: 921

Modified:
   trunk/pypi/webui.py
Log:
Fix typo.


Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Wed Apr 27 21:41:08 2011
@@ -656,7 +656,7 @@
             raise NotFound, path
         html = self.simple_body(path)
         if not self.privkey:
-            self.privkey = DSA.load_key(os.path.join(self.config.privkey, 'privkey'))
+            self.privkey = DSA.load_key(os.path.join(self.config.key_dir, 'privkey'))
         md = EVP.MessageDigest('sha1')
         md.update(html)
         digest = md.final()


More information about the Pypi-checkins mailing list