From: Mike Bayer Date: Tue, 4 Sep 2007 18:43:53 +0000 (+0000) Subject: remove unused method X-Git-Tag: rel_0_4beta6~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07fad643a6f6cc78195ac1be44040a947f2956ec;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git remove unused method --- diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index ded493642b..f1d0e32949 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: