Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 5387:f7432fc3db4d
Python 3 preparation: use Exception instead of StandardError.
Tool-generated patch.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 22:21:20 +0000 |
| parents | 62de601bdf6f |
| children | 23b8e6067f7c |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Tue Jul 24 22:20:20 2018 +0000 +++ b/roundup/backends/rdbms_common.py Tue Jul 24 22:21:20 2018 +0000 @@ -670,7 +670,7 @@ on _%s(__retired__, _%s)'''%(cn, cn, key) try: self.sql(sql) - except StandardError: + except Exception: # XXX catch e.g.: # _sqlite.DatabaseError: index _status_key_retired_idx already exists pass
