diff options
author | zyp <zyp@localhost> | 2006-05-11 18:34:59 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-05-11 18:34:59 +0200 |
commit | ea36dd2639b7b562aee9aa587489be9bf9bc4c73 (patch) | |
tree | a5a17cfef9f044850fa225f68d212ad37bcc5d6a /ed2k/__init__.py | |
parent | d4f7c7d7f6311d420a8b3ecac72659f499d3c848 (diff) |
[project @ zyp-20060511163459-2e238e10d316fe12]
[project @ 29]
Adapted pyanidb to distutils.
Diffstat (limited to 'ed2k/__init__.py')
-rw-r--r-- | ed2k/__init__.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ed2k/__init__.py b/ed2k/__init__.py deleted file mode 100644 index 754b5c9..0000000 --- a/ed2k/__init__.py +++ /dev/null @@ -1,11 +0,0 @@ -from _ed2k import * - -def file_hash(name): - e = Ed2k() - f = open(name) - data = f.read(32768) - while data: - e.update(data) - data = f.read(32768) - f.close() - return e.digest() |