def pack_dunder(name):
 mod = sys.modules[name]
 if (not hasattr(mod, '__utils__')):
  setattr(mod, '__utils__', salt.loader.utils(mod.__opts__))

def pack_dunder ( name ) : mod = sys . modules [ name ] if ( not hasattr ( mod , '__utils__' ) ) : setattr ( mod , '__utils__' , salt . loader . utils ( mod . __opts__ ) )
compatibility helper function to make __utils__ available on demand .