summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-09-04 18:43:53 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-09-04 18:43:53 +0000
commit07fad643a6f6cc78195ac1be44040a947f2956ec (patch)
treef33f63d5d1d0f9f817a608edf6d43b18ab74cfd8
parenta504b78e6c2b927f3c6ccc1282559c13740c5850 (diff)
downloadsqlalchemy-07fad643a6f6cc78195ac1be44040a947f2956ec.tar.gz
remove unused method
-rw-r--r--lib/sqlalchemy/sql/compiler.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py
index ded493642..f1d0e3294 100644
--- a/lib/sqlalchemy/sql/compiler.py
+++ b/lib/sqlalchemy/sql/compiler.py
@@ -644,12 +644,6 @@ class DefaultCompiler(engine.Compiled, visitors.ClauseVisitor):
self.postfetch = util.Set()
self.prefetch = util.Set()
- def to_col(key):
- if not isinstance(key, sql._ColumnClause):
- return stmt.table.columns.get(unicode(key), key)
- else:
- return key
-
# no parameters in the statement, no parameters in the
# compiled params - return binds for all columns
if self.column_keys is None and stmt.parameters is None: