mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 18:06:46 +00:00
consistency
This commit is contained in:
parent
7080ee6fc7
commit
940c6343cf
@ -1369,7 +1369,7 @@ class LeaseCrawler(unittest.TestCase, pollmixin.PollMixin):
|
||||
storage = root.child("storage")
|
||||
storage.makedirs()
|
||||
test_pickle = storage.child("lease_checker.history")
|
||||
with test_pickle.open("wb") as local, original_pickle.open("rb") as remote:
|
||||
with test_pickle.open("w") as local, original_pickle.open("r") as remote:
|
||||
for line in remote.readlines():
|
||||
if platform.isWindows():
|
||||
local.write(line.replace("\n", "\r\n"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user