Mercurial > traipse
diff plugins/cherrypy/_cphttptools.py @ 10:5df1340bda13 grumpy-goblin
Big patch! Linux GUI, Fetching Dict., Init2, Streaming lining.
author | sirebral |
---|---|
date | Tue, 21 Jul 2009 17:19:53 -0500 |
parents | 4385a7d0efd1 |
children |
line wrap: on
line diff
--- a/plugins/cherrypy/_cphttptools.py Sat Jul 18 11:41:05 2009 -0500 +++ b/plugins/cherrypy/_cphttptools.py Tue Jul 21 17:19:53 2009 -0500 @@ -418,7 +418,7 @@ for i in range(50): s += random.choice(string.letters+string.digits) s += '%s'%time.time() - return hashlib.hashlib(s).hexdigest() + return hashlib.shal(s).hexdigest() def getObjFromPath(objPathList, objCache): """ For a given objectPathList (like ['root', 'a', 'b', 'index']),