mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +00:00
Disable assertion we can't, sadly, enable.
This commit is contained in:
parent
d50c98a1e9
commit
c9084a2a45
@ -428,10 +428,9 @@ class BucketWriter(object):
|
||||
return sum([mr.stop - mr.start for mr in self._already_written.ranges()]) == self._max_size
|
||||
|
||||
def close(self):
|
||||
# TODO this can't actually be enabled, because it's not backwards
|
||||
# compatible. But it's useful for testing, so leaving it on until the
|
||||
# branch is ready for merge.
|
||||
assert self._is_finished()
|
||||
# This can't actually be enabled, because it's not backwards compatible
|
||||
# with old Foolscap clients.
|
||||
# assert self._is_finished()
|
||||
precondition(not self.closed)
|
||||
self._timeout.cancel()
|
||||
start = self._clock.seconds()
|
||||
|
Loading…
x
Reference in New Issue
Block a user