mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
"misplaced type annotation"
This commit is contained in:
parent
b92343c664
commit
d1839187f1
@ -48,10 +48,10 @@ class CleartextLeaseSerializer(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def unserialize(self, data):
|
def unserialize(self, data):
|
||||||
|
# type: (bytes) -> LeaseInfo
|
||||||
"""
|
"""
|
||||||
Load a lease with cleartext secrets from the given bytes representation.
|
Load a lease with cleartext secrets from the given bytes representation.
|
||||||
"""
|
"""
|
||||||
# type: (bytes) -> LeaseInfo
|
|
||||||
# In v1 of the immutable schema lease secrets are stored plaintext.
|
# In v1 of the immutable schema lease secrets are stored plaintext.
|
||||||
# So load the data into a plain LeaseInfo which works on plaintext
|
# So load the data into a plain LeaseInfo which works on plaintext
|
||||||
# secrets.
|
# secrets.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user