Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 0a5d14349a95ed87ae7d8310cc29d749 > files > 1

patcher-0.6-13.mga3.src.rpm

Index: patcher/util.py
===================================================================
--- patcher/util.py
+++ patcher/util.py	2009-01-12 23:23:53.000000000 +0100
@@ -20,7 +20,7 @@
 #
 from patcher import Error
 import sys, os
-import md5
+import hashlib
 #import commands
 
 # Our own version of commands' getstatusoutput(). We have a commands
@@ -51,7 +51,7 @@
 
 def filedigest(filename):
     file = open(filename)
-    digest = md5.md5()
+    digest = hashlib.md5()
     data = file.read(8192)
     while data:
         digest.update(data)