From e7372290e93e2fa26237e2ecbe257c8ccc4dce30 Mon Sep 17 00:00:00 2001 From: zyp Date: Fri, 27 Oct 2006 11:30:01 +0000 Subject: [project @ zyp-20061027113001-b3ca581e0efa4fa6] [project @ 65] This should not be here. --- hash/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 hash/__init__.py (limited to 'hash/__init__.py') diff --git a/hash/__init__.py b/hash/__init__.py deleted file mode 100644 index 0fc1715..0000000 --- a/hash/__init__.py +++ /dev/null @@ -1,11 +0,0 @@ -from _hash import * - -def file_hash(name): - h = Hash() - f = open(name) - data = f.read(32768) - while data: - h.update(data) - data = f.read(32768) - f.close() - return h -- cgit v1.2.3