From 451fb347d00508749e169de32560b8de74214c20 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 29 Sep 2017 16:40:16 +0530 Subject: [PATCH] master: include related modules in ModuleResponder response --- mitogen/master.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mitogen/master.py b/mitogen/master.py index c3a52788..86909b32 100644 --- a/mitogen/master.py +++ b/mitogen/master.py @@ -584,9 +584,10 @@ class ModuleResponder(object): pkg_present = None compressed = zlib.compress(source) + related = self._finder.find_related(fullname) self._router.route( mitogen.core.Message.pickled( - (pkg_present, path, compressed), + (pkg_present, path, compressed, related), dst_id=msg.src_id, handle=msg.reply_to, )