summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-15 17:31:17 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-15 17:31:17 +0000
commitcf7a01a90c16a00f112ecda68a08c63a1e3d733e (patch)
treea4d7554a2cdbf9e0a32556f8fdce9209407b4656
parente02a48ed24ee4548e765c3b2a26e8f20d0d992e2 (diff)
downloadsqlalchemy-cf7a01a90c16a00f112ecda68a08c63a1e3d733e.tar.gz
-removed print statements
- removeld errant classmethod on remove()
-rw-r--r--lib/sqlalchemy/orm/scoping.py1
-rw-r--r--test/orm/fixtures.py2
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)