Commit 0336de67 authored by Alex Willmer's avatar Alex Willmer Committed by David Wilson

parent: Combine first stage imports

SSH command size: 443 (-5 bytes)
Preamble size: 8962
parent 48949cd2
......@@ -326,7 +326,6 @@ class Stream(mitogen.core.Stream):
# Optimized for minimum byte count after minification & compression.
@staticmethod
def _first_stage():
import os,sys
R,W=os.pipe()
r,w=os.pipe()
if os.fork():
......@@ -361,7 +360,7 @@ class Stream(mitogen.core.Stream):
# same str (2.x) or an equivalent bytes (3.x).
return [
self.python_path, '-c',
'import codecs;_=codecs.decode;'
'import codecs,os,sys;_=codecs.decode;'
'exec(_(_("%s".encode(),"base64"),"zip"))' % (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