From 511b10efda06f4a4933c936594d5d270bdd6824c Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 13 Jul 2011 20:58:13 -0500 Subject: [PATCH] We should *raise* MissingCurrentMigration :) Thanks for the catch, Elrond. --- mediagoblin/db/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/util.py b/mediagoblin/db/util.py index 5a1b317d..3e52d8ce 100644 --- a/mediagoblin/db/util.py +++ b/mediagoblin/db/util.py @@ -173,7 +173,7 @@ class MigrationManager(object): with the 'current_migration', throw an error. """ if self.database_current_migration() is None: - MissingCurrentMigration( + raise MissingCurrentMigration( "Tried to call function which requires " "'current_migration' set in database")