--- a/iro/joblist.py Thu Nov 04 22:47:00 2010 +0100
+++ b/iro/joblist.py Thu Nov 18 01:25:28 2010 +0100
@@ -12,7 +12,7 @@
#along with this program; if not, see <http://www.gnu.org/licenses/>.
from anbieter import content
-import md5, os, time
+import hashlib, os, time
import logging
logger=logging.getLogger("iro.joblist");
@@ -66,7 +66,7 @@
creats a random hash id
'''
while True:
- m = md5.new()
+ m = hashlib.sha1()
m.update(str(time.time()))
m.update(os.urandom(10))
if not self.jobs.has_key(m.hexdigest):