]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove debugging/comments
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Dec 2005 01:52:54 +0000 (01:52 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Dec 2005 01:52:54 +0000 (01:52 +0000)
lib/sqlalchemy/mapping/properties.py

index a0ac84dc4d1024166f4f80b222b83893c394b3e8..41236261e0859378c803972638f05a34d8639b18 100644 (file)
@@ -756,8 +756,6 @@ class EagerLoader(PropertyLoader):
             result_list = h
         else:
             result_list = getattr(instance, self.key)
-            if not hasattr(result_list, 'append_nohistory'):
-                raise "hi2"
     
         self._instance(row, imap, result_list)
 
@@ -818,7 +816,6 @@ class EagerLazyOption(GenericOption):
 
         # create a clone of the class using mostly the arguments from the original
         submapper = mapper.props[key].mapper
-        #self.kwargs['argument'] = submapper
         kwargs = util.constructor_args(mapper.props[key], **self.kwargs)
         mapper.set_property(key, class_(**kwargs ))