From 16f1a0651dcbe115322cce136337b2e163417f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Mon, 22 Jul 2019 15:37:57 +0200 Subject: [PATCH] MAINT: added comment --- src/caosdb/exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caosdb/exceptions.py b/src/caosdb/exceptions.py index 20c5f7c9..25dfe747 100644 --- a/src/caosdb/exceptions.py +++ b/src/caosdb/exceptions.py @@ -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) -- GitLab