We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167d0ef commit 1a92995Copy full SHA for 1a92995
ansible_mitogen/runner.py
@@ -760,7 +760,12 @@ def _setup_imports(self):
760
for fullname, _, _ in self.module_map['custom']:
761
mitogen.core.import_module(fullname)
762
for fullname in self.module_map['builtin']:
763
- mitogen.core.import_module(fullname)
+ try:
764
+ mitogen.core.import_module(fullname)
765
+ except ImportError:
766
+ # TODO: this is a huge hack to work around issue #590.
767
+ if fullname != 'ansible.module_utils.distro._distro':
768
+ raise
769
770
def _setup_excepthook(self):
771
"""
0 commit comments