mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 10:20:59 +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 = root.child("storage")
|
||||||
storage.makedirs()
|
storage.makedirs()
|
||||||
test_pickle = storage.child("lease_checker.history")
|
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():
|
for line in remote.readlines():
|
||||||
if platform.isWindows():
|
if platform.isWindows():
|
||||||
local.write(line.replace("\n", "\r\n"))
|
local.write(line.replace("\n", "\r\n"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user