From d2fa9ba2aa867ddf75d3bc26d7a54338c84ba8e7 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 12 Aug 2016 04:49:11 +0100 Subject: [PATCH] Tidy. --- econtext/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/econtext/core.py b/econtext/core.py index 57716bd1..f011160f 100644 --- a/econtext/core.py +++ b/econtext/core.py @@ -191,7 +191,7 @@ class SlaveModuleImporter(object): else: mod.__package__ = fullname.rpartition('.')[0] code = compile(zlib.decompress(data), 'master:' + path, 'exec') - exec code in mod.__dict__ + exec code in vars(mod) return mod @@ -636,7 +636,7 @@ class Broker(object): self._call_and_update(side.stream, side.stream.on_transmit) def _broker_main(self): - """Handle events until shutdown() is called.""" + """Handle events until shutdown().""" try: while self._alive: self._loop_once()