summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-01-28 23:52:01 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-01-28 23:52:01 +0000
commitafda91983899d54948b9e9aba619201297cc31b4 (patch)
tree5d3546c7f9d03dd6e90b5ad90c9884cb9930d9b0
parent9e47517f4876da8d5af34d29f58b9ea59da98d8f (diff)
downloadsqlalchemy-afda91983899d54948b9e9aba619201297cc31b4.tar.gz
removed various print statements
-rw-r--r--lib/sqlalchemy/ext/selectresults.py3
-rw-r--r--lib/sqlalchemy/orm/query.py6
-rw-r--r--lib/sqlalchemy/sql.py1
3 files changed, 1 insertions, 9 deletions
diff --git a/lib/sqlalchemy/ext/selectresults.py b/lib/sqlalchemy/ext/selectresults.py
index 153b0c2b9..23fd98893 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 e0294ef72..bc047ff50 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 5f392a61c..ee1dce9f8 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: