def get_config(self):
        """
        Search the configuration for the correct record
        """
        name = self.__class__.__name__.replace('Repository','')
        for value in settings.VCS_CONFIG.values():
            if value['name'] == name:
                return value
        raise Exception("The configuration for %s is missing." % name)
dataset/ETHPy150Open washingtontimes/django-repositories/repositories/vcs/base.py/BaseVCS.get_config/original