Skip to content
Snippets Groups Projects
Commit 16f1a065 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: added comment

parent 84ee2aea
Branches
Tags
No related merge requests found
......@@ -277,6 +277,7 @@ class EntityError(TransactionError):
def _convert(self):
t = self._calc_bases()
# TODO is it really a good idea to create dynamically types here?
newtype = type('EntityMultiError', t, {})
newinstance = newtype(error=self.error, entity=self.entity)
setattr(newinstance, 'msg', self.msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment