From: Mike Bayer Date: Wed, 15 Aug 2007 17:31:17 +0000 (+0000) Subject: -removed print statements X-Git-Tag: rel_0_4beta3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7a01a90c16a00f112ecda68a08c63a1e3d733e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git -removed print statements - removeld errant classmethod on remove() --- 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)