mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
upload.py: the 'skipping encryption' message was emitted exactly backwards
This commit is contained in:
parent
b41749efa0
commit
aa3b509323
@ -518,8 +518,9 @@ class EncryptAnUploadable:
|
||||
# this ability, change this to simply update the counter
|
||||
# before each call to (hash_only==False) _encryptor.process()
|
||||
ciphertext = self._encryptor.process(chunk)
|
||||
if not hash_only:
|
||||
if hash_only:
|
||||
log.msg(" skipping encryption")
|
||||
else:
|
||||
cryptdata.append(ciphertext)
|
||||
del ciphertext
|
||||
del chunk
|
||||
|
Loading…
x
Reference in New Issue
Block a user