mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
\r does not round-trip the local socket, escape and restore on the other side (#43507)
This commit is contained in:
@@ -214,6 +214,8 @@ def main():
|
||||
raise Exception("EOF found before vars data was complete")
|
||||
vars_data += cur_line
|
||||
cur_line = stdin.readline()
|
||||
# restore escaped loose \r characters
|
||||
vars_data = vars_data.replace(br'\r', b'\r')
|
||||
|
||||
if PY3:
|
||||
pc_data = cPickle.loads(init_data, encoding='bytes')
|
||||
|
||||
Reference in New Issue
Block a user