# constructor would otherwise bind it to whatever get_session() is.
- oldinit(self, *args, **kwargs)
- # re-raise with the offending class name added to help in debugging
- raise TypeError, '%s.%s' %(self.__class__.__name__, msg)
+ oldinit(self, *args, **kwargs)
# override oldinit, insuring that its not already one of our
if oldinit is None or not hasattr(oldinit, '_sa_mapper_init'):