branch | 3.26 |
changeset 12432 | 2fcb53ee5178 |
parent 12290 | 2b049c9fcec5 |
child 12567 | 26744ad37953 |
child 12586 | afafc8fd9a45 |
--- a/cubicweb/server/sources/native.py Tue Oct 09 16:24:12 2018 +0200 +++ b/cubicweb/server/sources/native.py Mon Oct 29 10:04:31 2018 +0100 @@ -693,7 +693,7 @@ cnx.cnxset.rollback() if self.repo.config.mode != 'test': self.debug('transaction has been rolled back') - except Exception as ex: + except Exception: pass if ex.__class__.__name__ == 'IntegrityError': # need string comparison because of various backends