diff options
author | zyp <zyp@localhost> | 2006-10-24 08:03:24 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-10-24 08:03:24 +0200 |
commit | 405bc15d47e393a8c71f66f5059d1bb0510daf33 (patch) | |
tree | 759d67678e185894c556e13590a255619335a185 | |
parent | e19c4d106d1369e73d916ad4d87b3be5d1d1b1f6 (diff) |
[project @ zyp-20061024060324-1393c23001723707]
[project @ 63]
Fixed broken API.
-rw-r--r-- | multihash/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/multihash/__init__.py b/multihash/__init__.py index d31920f..cbfa2d5 100644 --- a/multihash/__init__.py +++ b/multihash/__init__.py @@ -17,7 +17,7 @@ class Multihash: self.update = h.update self.first = h -def hash_file(name, *algorithms): +def hash_file(name, algorithms): f = open(name) h = Multihash(*algorithms) _hash_file(f.fileno(), h.first) |