def rmRepo(self, username, reponame):
    """
    Removes a repo
    returns true iff successfully removed repo from config.
    """

    repo_data = self.__load_repo()

    repo = username + '/' + reponame
    
    if repo not in repo_data:
      return False

    del repo_data[repo]

    self.__save_repo(repo_data)

    return True
dataset/ETHPy150Open smailq/gitolite-manager/gitolite_manager/gitolite.py/Gitolite.rmRepo/original