Skip to content

Commit

Permalink
Restore exec_module to TornadoImporter and NaclImporter
Browse files Browse the repository at this point in the history
  • Loading branch information
David Murphy committed Jul 14, 2023
1 parent 403b3eb commit d2ddfbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions salt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def create_module(self, spec):
sys.modules[spec.name] = mod
return mod

def exec_module(self, module):
return None


class NaclImporter:
"""
Expand Down Expand Up @@ -77,6 +80,9 @@ def create_module(self, spec):
sys.modules[spec.name] = mod
return mod

def exec_module(self, module):
return None


# Try our importer first
sys.meta_path = [TornadoImporter(), NaclImporter()] + sys.meta_path
Expand Down

0 comments on commit d2ddfbb

Please sign in to comment.