'Removes package repository located on [url].
:param url: Universal Resource Locator of the repository.'

def remove_repo(self, url):

    for section in self.cfgparser.sections():
        for (option, value) in self.cfgparser.items(section):
            if ((option == 'url') and (value == url)):
                self.cfgparser.remove_section(section)
                self.cfgparser.write(open(self.repo_file_path, 'w'))
