diff options
-rw-r--r-- | lib/sqlalchemy/orm/scoping.py | 1 | ||||
-rw-r--r-- | test/orm/fixtures.py | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/scoping.py b/lib/sqlalchemy/orm/scoping.py index be37ab199..5dad74124 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 ed06c4d30..ead4bc951 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) |