votes up 1

Attempted to create a new commitlist but one exists already!

github stars 50580
Exception Class:

Raise code

    def from_existing(path):
        commits = CommitList.read_from_disk(path)
        return CommitList(path, commits)

    def create_new(path, base_version, new_version):
        if os.path.exists(path):
            raise ValueError('Attempted to create a new commitlist but one exists already!')
        commits = CommitList.get_commits_between(base_version, new_version)
        return CommitList(path, commits)

    def read_from_disk(path):
        with open(path) as csvfile:
            reader = csv.reader(csvfile)
😲  Walkingbet is Android app that pays you real bitcoins for a walking. Withdrawable real money bonus is available now, hurry up! 🚶


Just press the button and we will add solution
to this exception as soon as possible

* As many users press the button, the faster we create a fix

Add a possible fix

Please authorize to post fix