summaryrefslogtreecommitdiff
path: root/hash/__init__.py
diff options
context:
space:
mode:
authorzyp <zyp@localhost>2006-10-27 13:30:01 +0200
committerzyp <zyp@localhost>2006-10-27 13:30:01 +0200
commite7372290e93e2fa26237e2ecbe257c8ccc4dce30 (patch)
tree5e5e1bff5b9f3191e0dea2d7bdc9a55a82345542 /hash/__init__.py
parent802668818e930d91c37f8107e4c8822bd3ebdfac (diff)
[project @ zyp-20061027113001-b3ca581e0efa4fa6]
[project @ 65] This should not be here.
Diffstat (limited to 'hash/__init__.py')
-rw-r--r--hash/__init__.py11
1 files changed, 0 insertions, 11 deletions
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