Mercurial > p > roundup > code
changeset 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 | fc97f1f4a7e3 |
| children | d26921b851c3 |
| files | roundup/backends/rdbms_common.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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
