changeset 12607 | 3bf9002de48e |
parent 12567 | 26744ad37953 |
child 12608 | 6b2a9f288956 |
--- a/cubicweb/_exceptions.py Thu May 16 01:23:51 2019 +0200 +++ b/cubicweb/_exceptions.py Thu May 16 02:39:40 2019 +0200 @@ -79,6 +79,7 @@ class UniqueTogetherError(RepositoryError): """raised when a unique_together constraint caused an IntegrityError""" + def __init__(self, session, **kwargs): self.session = session assert 'rtypes' in kwargs or 'cstrname' in kwargs