consistency

This commit is contained in:
meejah 2021-12-01 12:02:42 -07:00
parent 7080ee6fc7
commit 940c6343cf

View File

@ -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"))