From: Jayson Reis Date: Thu, 13 Feb 2014 16:32:29 +0000 (+0000) Subject: Removed unreachable raise statement X-Git-Tag: rel_0_6_4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=161a48a3dfb75299e7ae5470e83c604364b97cfe;p=thirdparty%2Fsqlalchemy%2Falembic.git Removed unreachable raise statement --- 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: