summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-28 14:44:21 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-28 14:44:21 -0400
commitfc624dcfa40bf765bbfffa2fd964f73422e4dbe8 (patch)
tree4c60b035430dc65592c7dbefec5788538c438512 /lib/sqlalchemy/sql/expression.py
parent18370ac032a84da539c54640a425c0fca7613dc9 (diff)
downloadsqlalchemy-fc624dcfa40bf765bbfffa2fd964f73422e4dbe8.tar.gz
- test_types, test_compiler, with sqlite at least
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index aff5512d3..2c7b91fe6 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2204,7 +2204,7 @@ class _DefaultColumnComparator(operators.ColumnOperators):
def _check_literal(self, expr, operator, other):
if isinstance(other, (ColumnElement, TextClause)):
if isinstance(other, BindParameter) and \
- isinstance(other.type, sqltypes.NullType):
+ isinstance(other.type, sqltypes.NullType):
# TODO: perhaps we should not mutate the incoming
# bindparam() here and instead make a copy of it.
# this might be the only place that we're mutating
@@ -3116,7 +3116,6 @@ class Executable(Generative):
def execute(self, *multiparams, **params):
"""Compile and execute this :class:`.Executable`."""
-
e = self.bind
if e is None:
label = getattr(self, 'description', self.__class__.__name__)