Mercurial > p > roundup > code
diff roundup/cgi/PageTemplates/Expressions.py @ 5265:63868084b8bb
Python 2 and 3 support. Convert Exception to BaseException. TAL and
PageTemplate code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 04 Sep 2017 21:58:16 -0400 |
| parents | 198b6e810c67 |
| children | 12fe83f90f0d |
line wrap: on
line diff
--- a/roundup/cgi/PageTemplates/Expressions.py Mon Sep 04 21:56:49 2017 -0400 +++ b/roundup/cgi/PageTemplates/Expressions.py Mon Sep 04 21:58:16 2017 -0400 @@ -51,7 +51,7 @@ try: from zExceptions import Unauthorized except ImportError: - class Unauthorized(Exception): + class Unauthorized(BaseException): pass def acquisition_security_filter(orig, inst, name, v, real_validate):
