From: Mike Bayer Date: Fri, 23 Dec 2005 01:52:54 +0000 (+0000) Subject: remove debugging/comments X-Git-Tag: rel_0_1_0~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec0043ec15d5973c5977a43ae3effcbec32536c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git remove debugging/comments --- diff --git a/lib/sqlalchemy/mapping/properties.py b/lib/sqlalchemy/mapping/properties.py index a0ac84dc4d..41236261e0 100644 --- a/lib/sqlalchemy/mapping/properties.py +++ b/lib/sqlalchemy/mapping/properties.py @@ -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 ))