diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-04-17 21:53:21 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-04-17 21:53:21 (GMT) |
commit | a90a3b471de133df411e947d8a498e7965f6d800 (patch) | |
tree | bd95eea4d923346a0cce656aa289853bd9490606 /Demo/pdist | |
parent | 343cbd02792190e6926acdeb965163e9f22bb8cc (diff) | |
download | cpython-a90a3b471de133df411e947d8a498e7965f6d800.zip cpython-a90a3b471de133df411e947d8a498e7965f6d800.tar.gz cpython-a90a3b471de133df411e947d8a498e7965f6d800.tar.bz2 |
Use md5.new() constructor
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-x | Demo/pdist/cvslib.py | 2 |
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): |