From b12433695c38435cf4ac5649d31c69522a10baa0 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 21 Sep 2017 17:08:57 +0530 Subject: [PATCH] fakessh: add to preamble_size.py --- preamble_size.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/preamble_size.py b/preamble_size.py index 5bd38fa3..47fc442a 100644 --- a/preamble_size.py +++ b/preamble_size.py @@ -6,6 +6,7 @@ contexts. import inspect import zlib +import mitogen.fakessh import mitogen.master import mitogen.ssh import mitogen.sudo @@ -27,6 +28,7 @@ for mod in ( mitogen.master, mitogen.ssh, mitogen.sudo, + mitogen.fakessh, ): sz = len(zlib.compress(mitogen.master.minimize_source(inspect.getsource(mod)))) print '%s size: %s (%.2fKiB)' % (mod.__name__, sz, sz / 1024.0)