parent: Prefer "import foo;x=foo" in first stage
SSH command size: 481 (down 1) Preamble size: 8946 (no change)
This commit is contained in:
parent
f999b9adbf
commit
85f36f4cb1
|
@ -353,7 +353,7 @@ class Stream(mitogen.core.Stream):
|
||||||
# same str (2.x) or an equivalent bytes (3.x).
|
# same str (2.x) or an equivalent bytes (3.x).
|
||||||
return [
|
return [
|
||||||
self.python_path, '-c',
|
self.python_path, '-c',
|
||||||
'from codecs import decode as _;'
|
'import codecs;_=codecs.decode;'
|
||||||
'exec(_(_("%s".encode(),"base64"),"zlib"))' % (encoded,)
|
'exec(_(_("%s".encode(),"base64"),"zlib"))' % (encoded,)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue