Mercurial > p > roundup > code
diff roundup/backends/__init__.py @ 5248:198b6e810c67
Use Python-3-compatible 'as' syntax for except statements
Many raise statements near these are also fixed.
So are two ivorrect file encoding marks ('utf8'->'utf-8').
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Thu, 24 Aug 2017 22:21:37 -0400 |
| parents | a86b0c02940d |
| children | ebd6df1126a2 |
line wrap: on
line diff
--- a/roundup/backends/__init__.py Thu Aug 24 17:55:02 2017 -0400 +++ b/roundup/backends/__init__.py Thu Aug 24 22:21:37 2017 -0400 @@ -48,7 +48,7 @@ try: get_backend(name) return 1 - except ImportError, e: + except ImportError as e: for name in _modules.get(name, (name,)): if str(e).startswith('No module named %s'%name): return 0
