Commit 85f36f4c authored by Alex Willmer's avatar Alex Willmer Committed by David Wilson

parent: Prefer "import foo;x=foo" in first stage

SSH command size: 481 (down 1)
Preamble size: 8946 (no change)
parent f999b9ad
...@@ -353,7 +353,7 @@ class Stream(mitogen.core.Stream): ...@@ -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,)
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment