def targets(self, tgt, tgt_type):
        targets = {}
        for back in self._gen_back():
            f_str = '{0}.targets'.format(back)
            if f_str not in self.rosters:
                continue
            try:
                targets.update(self.rosters[f_str](tgt, tgt_type))
            except salt.exceptions.SaltRenderError as exc:
                log.error('Unable to render roster file: {0}'.format(exc))
            except IOError as exc:
                pass

        if not targets:
            raise salt.exceptions.SaltSystemExit(
                    'No hosts found with target {0} of type {1}'.format(
                        tgt,
                        tgt_type)
                    )

        log.debug('Matched minions: {0}'.format(targets))
        return targets
A decorator to declare that only the first N arguments my be positional.
dataset/ETHPy150Open saltstack/salt/salt/roster/__init__.py/Roster.targets--crossover with--dataset/ETHPy150Open google/oauth2client/oauth2client/util.py/positional