Mercurial > hg-stable
changeset 25010:ded7302e1c83
check-code: drop the python 2.5 warning for os.path.relpath()
There's plenty of other cleanup to do in here, but this specific one is used in
the next patch.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 11 May 2015 22:47:01 -0400 |
parents | e1fb276d4619 |
children | 7d6a507a4c53 |
files | contrib/check-code.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-code.py Fri May 08 23:44:15 2015 -0700 +++ b/contrib/check-code.py Mon May 11 22:47:01 2015 -0400 @@ -281,7 +281,6 @@ (r'opener\([^)]*\).read\(', "use opener.read() instead"), (r'BaseException', 'not in Python 2.4, use Exception'), - (r'os\.path\.relpath', 'os.path.relpath is not in Python 2.5'), (r'opener\([^)]*\).write\(', "use opener.write() instead"), (r'[\s\(](open|file)\([^)]*\)\.read\(',