def _pkgdb_fun(self, func, *args, **kwargs):
        try:
            return getattr(getattr(self.pkgdb, self.db_prov), func)(*args, **kwargs)
        except __HOLE__:
            return self.pkgdb['{0}.{1}'.format(self.db_prov, func)](*args, **kwargs)
dataset/ETHPy150Open saltstack/salt/salt/spm/__init__.py/SPMClient._pkgdb_fun