summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/pdist/cvslib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pdist/cvslib.py b/Demo/pdist/cvslib.py
index fa0e0f9..0f689c4 100755
--- a/Demo/pdist/cvslib.py
+++ b/Demo/pdist/cvslib.py
@@ -70,7 +70,7 @@ class File:
except os.error:
self.lmtime = self.lctime = self.lsum = None
else:
- self.lsum = md5.md5(open(self.file).read()).digest()
+ self.lsum = md5.new(open(self.file).read()).digest()
self.lseen = 1
def getentry(self, line):