From 8deceebce558db4ff99b9680a095603bf25cf707 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 7 Mar 2013 17:17:01 -0500 Subject: [PATCH] quizzer: Get upgrade-from-v0.2-to-v0.3 methods in place --- quizzer/answerdb.py | 2 ++ quizzer/quiz.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/quizzer/answerdb.py b/quizzer/answerdb.py index a47fe22..8671da1 100644 --- a/quizzer/answerdb.py +++ b/quizzer/answerdb.py @@ -86,3 +86,5 @@ class AnswerDatabase (dict): def _upgrade_from_0_1(self, data): data['version'] = __version__ return data + + _upgrade_from_0_2 = _upgrade_from_0_1 diff --git a/quizzer/quiz.py b/quizzer/quiz.py index ae1702e..70cc7ff 100644 --- a/quizzer/quiz.py +++ b/quizzer/quiz.py @@ -95,3 +95,5 @@ class Quiz (list): def _upgrade_from_0_1(self, data): data['version'] = __version__ return data + + _upgrade_from_0_2 = _upgrade_from_0_1 -- 2.26.2