summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-02-05 15:34:28 +0000
committerJason Kirtland <jek@discorporate.us>2008-02-05 15:34:28 +0000
commitdc98505f2f182b099dddcba45c518584e131a039 (patch)
treeb8bd75ff6983e120bc1ddcde04341e9abd10e0e0 /lib/sqlalchemy/engine/base.py
parent6d843aeeb2915206e3e80a6b88d9ce8ed068a035 (diff)
downloadsqlalchemy-dc98505f2f182b099dddcba45c518584e131a039.tar.gz
hmmm.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 9a7280065..1a13fdeeb 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -974,12 +974,12 @@ class Connection(Connectable):
# poor man's multimethod/generic function thingy
executors = {
- expression._Function : _execute_function,
- expression.ClauseElement : execute_clauseelement,
- Compiled : _execute_compiled,
- schema.SchemaItem:_execute_default,
+ expression._Function: _execute_function,
+ expression.ClauseElement: execute_clauseelement,
+ Compiled: _execute_compiled,
+ schema.SchemaItem: _execute_default,
schema.DDL: _execute_ddl,
- str.__mro__[-2] : _execute_text
+ basestring: _execute_text
}
def create(self, entity, **kwargs):