From: Rodney Ewing Date: Tue, 25 Jun 2013 20:22:56 +0000 (-0700) Subject: typo X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5a1be074c0522c2151ab735eeb30a60c07ff7f7c;p=mediagoblin.git typo --- 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()