From cf7a01a90c16a00f112ecda68a08c63a1e3d733e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 15 Aug 2007 17:31:17 +0000 Subject: [PATCH] -removed print statements - removeld errant classmethod on remove() --- lib/sqlalchemy/orm/scoping.py | 1 - test/orm/fixtures.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/sqlalchemy/orm/scoping.py b/lib/sqlalchemy/orm/scoping.py index be37ab199d..5dad741245 100644 --- a/lib/sqlalchemy/orm/scoping.py +++ b/lib/sqlalchemy/orm/scoping.py @@ -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.""" diff --git a/test/orm/fixtures.py b/test/orm/fixtures.py index ed06c4d30e..ead4bc9510 100644 --- a/test/orm/fixtures.py +++ b/test/orm/fixtures.py @@ -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) -- 2.47.3