]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
oops, print statements...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2007 02:18:52 +0000 (02:18 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2007 02:18:52 +0000 (02:18 +0000)
lib/sqlalchemy/orm/query.py
test/orm/unitofwork.py

index b828750d4a6f5920dad533de5699baeed0c09564..47a7022695db113b9fa666d805e909578707327a 100644 (file)
@@ -105,14 +105,11 @@ class Query(object):
         key column values in the order of the table def's primary key
         columns.
         """
-        print "LOAD CHECK1"
         ret = self._extension.load(self, ident, **kwargs)
         if ret is not mapper.EXT_CONTINUE:
             return ret
-        print "LOAD CHECK2"
         key = self.mapper.identity_key_from_primary_key(ident)
         instance = self.populate_existing()._get(key, ident, **kwargs)
-        print "LOAD CHECK3"
         if instance is None and raiseerr:
             raise exceptions.InvalidRequestError("No instance found for identity %s" % repr(ident))
         return instance
index 28efbf056c62cc7a31fa77879fbf43c19f69bb1b..b985cc8a50f8b1ed19b4383edf219cae005285f6 100644 (file)
@@ -119,10 +119,8 @@ class VersioningTest(ORMTest):
         except exceptions.ConcurrentModificationError, e:
             assert True
         # reload it
-        print "RELOAD"
         s1.query(Foo).load(f1s1.id)
         # now assert version OK
-        print "VERSIONCHECK"
         s1.query(Foo).with_lockmode('read').get(f1s1.id)
         
         # assert brand new load is OK too