mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 07:31:07 +00:00
encode.py: minor typo
This commit is contained in:
parent
4d868e6649
commit
d206843625
@ -290,7 +290,7 @@ class Encoder(object):
|
|||||||
def _encoded_segment(self, (shares, shareids), segnum):
|
def _encoded_segment(self, (shares, shareids), segnum):
|
||||||
# To generate the URI, we must generate the roothash, so we must
|
# To generate the URI, we must generate the roothash, so we must
|
||||||
# generate all shares, even if we aren't actually giving them to
|
# generate all shares, even if we aren't actually giving them to
|
||||||
# anybody. This means that the set of share we create will be equal
|
# anybody. This means that the set of shares we create will be equal
|
||||||
# to or larger than the set of landlords. If we have any landlord who
|
# to or larger than the set of landlords. If we have any landlord who
|
||||||
# *doesn't* have a share, that's an error.
|
# *doesn't* have a share, that's an error.
|
||||||
_assert(set(self.landlords.keys()).issubset(set(shareids)),
|
_assert(set(self.landlords.keys()).issubset(set(shareids)),
|
||||||
|
Loading…
Reference in New Issue
Block a user