def rollback(self):

        try:
            shutil.copy2(self.db_path + "/BACKUP_codedict_db.DB", self.db_path + "/codedict_db.DB")
        except (shutil.Error, IOError, OSError) as error:
            print "Error while rolling back database.\n", error
            sys.exit(1)
Rolls back the database to last
dataset/ETHPy150Open BastiPaeltz/codedict/source/database.py/Database.rollback