From: Mike Bayer Date: Fri, 22 Sep 2006 23:04:40 +0000 (+0000) Subject: future log lines X-Git-Tag: rel_0_3_0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e6a25f47914ab76773c596d4502924048724c6e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git future log lines --- 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()