Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some broken logic. This fixes #57

  • Loading branch information...
commit b98d7468a9cd74c77133f7fcc34ec2d73762f16a 1 parent e8450c4
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flaskext/sqlalchemy.py
View
2  flaskext/sqlalchemy.py
@@ -451,7 +451,7 @@ def __new__(cls, name, bases, d):
# attach a primary key to support model inheritance that does
# not use joins. We also don't want a table name if a whole
# table is defined
- if not tablename and not d.get('__table__') is None and \
+ if not tablename and d.get('__table__') is None and \
_defines_primary_key(d):
def _join(match):
word = match.group()
Please sign in to comment.
Something went wrong with that request. Please try again.