From 5a1be074c0522c2151ab735eeb30a60c07ff7f7c Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Tue, 25 Jun 2013 13:22:56 -0700 Subject: [PATCH] typo --- mediagoblin/db/migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 50fccd78..129c1998 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -297,7 +297,7 @@ def pw_hash_nullable(db): user_table.c.pw_hash.alter(nullable=True) - if db.bind.url.drivername is 'sqlite': + if db.bind.url.drivername == 'sqlite': constraint = UniqueConstraint('username', table=user_table) constraint.create() -- 2.25.1