@staticmethod
    def _reformatProxies(proxies):
        if not proxies:
            return {}
        values = {}
        for key, value in proxies.items():
            if value.startswith('conary'):
                values.setdefault('conaryProxy', []).append(
                        '%s http%s' % (key, value[6:]))
            else:
                values.setdefault('proxy', []).append(
                        '%s %s' % (key, value))
        return values
dataset/ETHPy150Open sassoftware/conary/conary_test/rephelp.py/RepositoryHelper._reformatProxies/original