# HG changeset patch # User Pierre-Yves David # Date 1431542477 25200 # Node ID e0ce8d8630f3a338119b0173ba48965ebe75a022 # Parent 62c2786b4327ea8b6eda7c968a4207abe09f16ee check-code: allow 'Except EClass as variable:' Python 2.4 compatibility has been dropped. diff -r 62c2786b4327 -r e0ce8d8630f3 contrib/check-code.py --- a/contrib/check-code.py Wed May 13 11:39:48 2015 -0700 +++ b/contrib/check-code.py Wed May 13 11:41:17 2015 -0700 @@ -250,7 +250,6 @@ (r'("\')\.format\(', "str.format() not available in Python 2.4"), (r'^\s*with\s+', "with not available in Python 2.4"), (r'\.isdisjoint\(', "set.isdisjoint not available in Python 2.4"), - (r'^\s*except.* as .*:', "except as not available in Python 2.4"), (r'^\s*os\.path\.relpath', "relpath not available in Python 2.4"), (r'(?