diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-01-04 16:27:50 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-01-04 16:27:50 -0500 |
commit | 6c3e393d4ea2e2d1c518433f5b74a4996dca3404 (patch) | |
tree | 6f291797c6c9037f9d045bdebdf4d850d56b84dc /tupkg/client | |
parent | 207b565f1c05c556f05f4a549afeeb8878a3c372 (diff) | |
download | aurweb-6c3e393d4ea2e2d1c518433f5b74a4996dca3404.tar.xz |
Correct hashlib.md5 usage in tupkg and tupkgs.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg/client')
-rwxr-xr-x | tupkg/client/tupkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg index f9980e6..af7d054 100755 --- a/tupkg/client/tupkg +++ b/tupkg/client/tupkg @@ -35,7 +35,7 @@ class ClientFile: self.makeMd5() def makeMd5(self): - md5sum = md5.new() + md5sum = md5() while self.fd.tell() != self.size: md5sum.update(self.fd.read(1024)) self.md5 = md5sum.hexdigest() |