From f3846da4ab6c43eebc45ab0ac2b330ac5300e0d0 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 7 Jun 2007 13:18:55 -0700 Subject: [PATCH] encode.py: hush pyflakes warnings --- src/allmydata/encode.py | 3 +-- src/allmydata/hashtree.py | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/allmydata/encode.py b/src/allmydata/encode.py index c7dcb3ae..83126fe5 100644 --- a/src/allmydata/encode.py +++ b/src/allmydata/encode.py @@ -3,8 +3,7 @@ from zope.interface import implements from twisted.internet import defer from twisted.python import log -from allmydata.hashtree import HashTree, \ - block_hash, thingA_hash, plaintext_hash, crypttext_hash +from allmydata.hashtree import HashTree, block_hash, thingA_hash from allmydata.Crypto.Cipher import AES from allmydata.Crypto.Hash import SHA256 from allmydata.util import mathutil, bencode diff --git a/src/allmydata/hashtree.py b/src/allmydata/hashtree.py index 31c78757..a3b1c5b4 100644 --- a/src/allmydata/hashtree.py +++ b/src/allmydata/hashtree.py @@ -452,9 +452,3 @@ def block_hash(data): def thingA_hash(data): return tagged_hash("thingA", data) - -def plaintext_hash(data): - return tagged_hash("plaintext segment", data) - -def crypttext_hash(data): - return tagged_hash("crypttext segment", data) -- 2.45.2