Mercurial > hg
changeset 25029:e0ce8d8630f3
check-code: allow 'Except EClass as variable:'
Python 2.4 compatibility has been dropped.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 13 May 2015 11:41:17 -0700 |
parents | 62c2786b4327 |
children | 33298a8b472f |
files | contrib/check-code.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'(?<!def)\s+(any|all|format)\(', "any/all/format not available in Python 2.4", 'no-py24'),