From: Brian Warner <warner@lothar.com>
Date: Thu, 7 Jun 2007 20:18:55 +0000 (-0700)
Subject: encode.py: hush pyflakes warnings
X-Git-Tag: allmydata-tahoe-0.3.0~19
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/%5B%5E?a=commitdiff_plain;h=f3846da4ab6c43eebc45ab0ac2b330ac5300e0d0;p=tahoe-lafs%2Ftahoe-lafs.git

encode.py: hush pyflakes warnings
---

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)