]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
-removed print statements
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2007 17:31:17 +0000 (17:31 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2007 17:31:17 +0000 (17:31 +0000)
- removeld errant classmethod on remove()

lib/sqlalchemy/orm/scoping.py
test/orm/fixtures.py

index be37ab199db08f3469682e367cd3eb5dc409a07b..5dad7412456a5ec4a1ca7c4fafe107b3a93da812 100644 (file)
@@ -45,7 +45,6 @@ class ScopedSession(object):
     
     def remove(self):
         self.registry.clear()
-    remove = classmethod(remove)
     
     def mapper(self, *args, **kwargs):
         """return a mapper() function which associates this ScopedSession with the Mapper."""
index ed06c4d30e000806b255756f7a9e920a3f48be4b..ead4bc95105ee6d82a3d038f56a2bb1a22b9e91d 100644 (file)
@@ -24,14 +24,12 @@ class Base(object):
         only look at attributes that are present on the source object.
         
         """
-        print "WE ARE IN EQ"
         if self in _recursion_stack:
             return True
         _recursion_stack.add(self)
         try:
             # use __dict__ to avoid instrumented properties
             for attr in self.__dict__.keys():
-                print "ATTR", attr
                 if attr[0] == '_':
                     continue
                 value = getattr(self, attr)