Skip to content

Commit 103efe5

Browse files
authored
Update write.py
1 parent 2f695a5 commit 103efe5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎python_agent_harness/tools/write.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ def run(self, args: dict, ctx: ToolContext) -> str:
7575
if parent:
7676
os.makedirs(parent, exist_ok=True)
7777
# newline="": write the model's content byte-for-byte. The
78-
# default text-mode write translates "\n" to os.linesep on
79-
# Windows, which (a) made the written bytes platform-dependent
80-
# and (b) broke the symmetric byte-exact read above (the same
78+
# default text-mode write translates "\n" to os.linesep,
79+
# which (a) made the written bytes platform-dependent and
80+
# (b) broke the symmetric byte-exact read above (the same
8181
# logical content no longer compared equal). surrogateescape
8282
# mirrors the read side; both together keep Write's behavior
8383
# identical on every platform. Both are handled by

0 commit comments

Comments
 (0)