diff options
Diffstat (limited to 'lib/sqlalchemy/mapping/properties.py')
-rw-r--r-- | lib/sqlalchemy/mapping/properties.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/mapping/properties.py b/lib/sqlalchemy/mapping/properties.py index a0ac84dc4..41236261e 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 )) |