From: W. Trevor King Date: Thu, 7 Mar 2013 22:17:01 +0000 (-0500) Subject: quizzer: Get upgrade-from-v0.2-to-v0.3 methods in place X-Git-Tag: v0.3~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8deceebce558db4ff99b9680a095603bf25cf707;p=quizzer.git quizzer: Get upgrade-from-v0.2-to-v0.3 methods in place --- 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