[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/auth/base.py using ZEO.hash

Andreas Jung andreas at andreas-jung.com
Mon Mar 30 17:21:56 EDT 2009


Log message for revision 98636:
  using ZEO.hash
  

Changed:
  U   ZODB/trunk/src/ZEO/auth/base.py

-=-
Modified: ZODB/trunk/src/ZEO/auth/base.py
===================================================================
--- ZODB/trunk/src/ZEO/auth/base.py	2009-03-30 21:02:12 UTC (rev 98635)
+++ ZODB/trunk/src/ZEO/auth/base.py	2009-03-30 21:21:56 UTC (rev 98636)
@@ -113,7 +113,7 @@
         return self._users[username]
 
     def hash(self, s):
-        return sha1.new(s).hexdigest()
+        return sha1(s).hexdigest()
 
     def add_user(self, username, password):
         if self._users.has_key(username):



More information about the Zodb-checkins mailing list