List repositories in specified environments

def list_repos(self, envs=[], query='/repositories/'):
        """
        List repositories in specified environments
        """
        juicer.utils.Log.log_debug(
                "List Repos In: %s", ", ".join(envs))

        repo_lists = {}
        for env in envs:
            repo_lists[env] = []

        for env in envs:
            _r = self.connectors[env].get(query)
            if _r.status_code == Constants.PULP_GET_OK:
                for repo in juicer.utils.load_json_str(_r.content):
                    if re.match(".*-{0}$".format(env), repo['id']):
                        repo_lists[env].append(repo['display_name'])
            else:
                _r.raise_for_status()
        return repo_lists