From 2e6a25f47914ab76773c596d4502924048724c6e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 22 Sep 2006 23:04:40 +0000 Subject: [PATCH] future log lines --- lib/sqlalchemy/attributes.py | 2 +- lib/sqlalchemy/orm/mapper.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/attributes.py b/lib/sqlalchemy/attributes.py index 97e2ce7e47..2d3f910d8c 100644 --- a/lib/sqlalchemy/attributes.py +++ b/lib/sqlalchemy/attributes.py @@ -697,7 +697,7 @@ class AttributeManager(object): def register_attribute(self, class_, key, uselist, callable_=None, **kwargs): """registers an attribute at the class level to be instrumented for all instances of the class.""" - #print "register attribute", key, "for class", class_ + #print self, "register attribute", key, "for class", class_ if not hasattr(class_, '_state'): def _get_state(self): try: diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 1539a949cb..b42a79d8f3 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -135,6 +135,7 @@ class Mapper(object): # mapper. self._compile_class() + #print self, "constructed" # uncomment to compile at construction time (the old way) # this will break mapper setups that arent declared in the order # of dependency @@ -197,7 +198,7 @@ class Mapper(object): """ if self.__is_compiled: return self - #print "COMPILING!", self.class_key, "non primary: ", self.non_primary + #print self, "_do_compile" self.__is_compiled = True self.__props_init = False self._compile_extensions() -- 2.47.2