mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Fix lint.
This commit is contained in:
parent
da8a36fac9
commit
d85b20b62d
@ -353,7 +353,7 @@ class _ReadRangeProducer:
|
||||
d, self.result = self.result, None
|
||||
d.errback(
|
||||
ValueError(
|
||||
f"Should be {remaining} bytes left, but we got an empty read"
|
||||
f"Should be {self.remaining} bytes left, but we got an empty read"
|
||||
)
|
||||
)
|
||||
self.stopProducing()
|
||||
@ -363,7 +363,7 @@ class _ReadRangeProducer:
|
||||
d, self.result = self.result, None
|
||||
d.errback(
|
||||
ValueError(
|
||||
f"Should be {remaining} bytes left, but we got more than that ({len(data)})!"
|
||||
f"Should be {self.remaining} bytes left, but we got more than that ({len(data)})!"
|
||||
)
|
||||
)
|
||||
self.stopProducing()
|
||||
|
Loading…
Reference in New Issue
Block a user