From: Mike Bayer Date: Sun, 28 Jan 2007 23:52:01 +0000 (+0000) Subject: removed various print statements X-Git-Tag: rel_0_3_5~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afda91983899d54948b9e9aba619201297cc31b4;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git removed various print statements --- diff --git a/lib/sqlalchemy/ext/selectresults.py b/lib/sqlalchemy/ext/selectresults.py index 153b0c2b9a..23fd988930 100644 --- a/lib/sqlalchemy/ext/selectresults.py +++ b/lib/sqlalchemy/ext/selectresults.py @@ -137,9 +137,6 @@ class SelectResults(object): clause = clause.outerjoin(prop.select_table, prop.get_join()) else: clause = clause.join(prop.select_table, prop.get_join()) - print "SELECT_TABLE", prop.select_table - print "JOIN", prop.get_join() - print "CLAUSE", str(clause), "DONE CLAUSE" mapper = prop.mapper return (clause, mapper) diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py index e0294ef72d..bc047ff504 100644 --- a/lib/sqlalchemy/orm/query.py +++ b/lib/sqlalchemy/orm/query.py @@ -402,11 +402,7 @@ class Query(object): if whereclause is not None and self.is_polymorphic: # adapt the given WHERECLAUSE to adjust instances of this query's mapped table to be that of our select_table, # which may be the "polymorphic" selectable used by our mapper. - print "PolYMORPHIC YES" - print "WHERECLAUSE", str(whereclause) - print "OUR TABLE", str(self.table) whereclause.accept_visitor(sql_util.ClauseAdapter(self.table)) - print "AND NOW ITS", str(whereclause) context = kwargs.pop('query_context', None) if context is None: @@ -543,4 +539,4 @@ class SelectionContext(OperationContext): def accept_option(self, opt): """accept a MapperOption which will process (modify) the state of this SelectionContext.""" opt.process_selection_context(self) - \ No newline at end of file + diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 5f392a61cb..ee1dce9f86 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -1405,7 +1405,6 @@ class CompoundSelect(_SelectBaseMixin, FromClause): for c in s.c: yield c def _proxy_column(self, column): - print "PROXYING COLUMN", type(column), column if self.use_labels: col = column._make_proxy(self, name=column._label) else: