mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-23 12:15:16 +00:00
encode.py: hush pyflakes warnings
This commit is contained in:
parent
b2caf7fb9a
commit
f3846da4ab
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user