From 405bc15d47e393a8c71f66f5059d1bb0510daf33 Mon Sep 17 00:00:00 2001 From: zyp Date: Tue, 24 Oct 2006 06:03:24 +0000 Subject: [project @ zyp-20061024060324-1393c23001723707] [project @ 63] Fixed broken API. --- multihash/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3