def update_opts(self):
        # This fix func monkey patching by pillar
        for name, func in self.servers.items():
            try:
                if '__opts__' in func.__globals__:
                    func.__globals__['__opts__'].update(self.opts)
            except __HOLE__:
                pass
dataset/ETHPy150Open saltstack/salt/salt/fileserver/__init__.py/Fileserver.update_opts