def get_res_configs(self, rid, config=None):
        self._analyse()

        if not rid:
            raise ValueError("'rid' should be set")

        try:
            res_options = self.resource_values[rid]
            if len(res_options) > 1 and config:
                return [(
                    config,
                    res_options[config])]
            else:
                return res_options.items()

        except __HOLE__:
            return []
dataset/ETHPy150Open androguard/androguard/androguard/core/bytecodes/apk.py/ARSCParser.get_res_configs