]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
future log lines
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 22 Sep 2006 23:04:40 +0000 (23:04 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 22 Sep 2006 23:04:40 +0000 (23:04 +0000)
lib/sqlalchemy/attributes.py
lib/sqlalchemy/orm/mapper.py

index 97e2ce7e47a0897036fbb1e0bd792765aa67583d..2d3f910d8c8e8d9f24530d82ce5dd30baa6ab004 100644 (file)
@@ -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:
index 1539a949cb6096b7a6702f9c4035a3fdfc66fb53..b42a79d8f35391a33e5f18ff0857eaeedfe2ec72 100644 (file)
@@ -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()