first stage: Use string concatenation

wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent b490cde604
commit d1c10f64a5

@ -718,7 +718,7 @@ class Stream(mitogen.core.Stream):
os.write(1,'EC0\n') os.write(1,'EC0\n')
C=zlib.decompress(sys.stdin.read(input())) C=zlib.decompress(sys.stdin.read(input()))
os.fdopen(W,'w',0).write(C) os.fdopen(W,'w',0).write(C)
os.fdopen(w,'w',0).write('%s\n%s'%(len(C),C)) os.fdopen(w,'w',0).write('%s\n'%len(C)+C)
os.write(1,'EC1\n') os.write(1,'EC1\n')
sys.exit(0) sys.exit(0)

Loading…
Cancel
Save