From 161a48a3dfb75299e7ae5470e83c604364b97cfe Mon Sep 17 00:00:00 2001 From: Jayson Reis Date: Thu, 13 Feb 2014 16:32:29 +0000 Subject: [PATCH] Removed unreachable raise statement --- alembic/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/script.py b/alembic/script.py index e816d2b5..32adf1c0 100644 --- a/alembic/script.py +++ b/alembic/script.py @@ -259,7 +259,7 @@ class ScriptDirectory(object): 'must be resolved by manually editing the revision files to ' 'form a linear sequence. Run `alembic branches` to see the ' 'divergence(s).') - raise util.CommandError("Only a single head supported so far...") + if current_heads: return current_heads[0] else: -- 2.47.2