# HG changeset patch # User Pierre-Yves David # Date 1431909386 25200 # Node ID 6d3079e9b53f17cfc07b12191cea74663189939e # Parent 0d6b64fbb5ba24f9dc88bdd7baf0068dfeae4953 check-code: remove the check for os.path.relpath This is available in Python2.6 the new default supported release. diff -r 0d6b64fbb5ba -r 6d3079e9b53f contrib/check-code.py --- a/contrib/check-code.py Sun May 17 17:27:10 2015 -0700 +++ b/contrib/check-code.py Sun May 17 17:36:26 2015 -0700 @@ -246,7 +246,6 @@ (r'[\x80-\xff]', "non-ASCII character literal"), (r'("\')\.format\(', "str.format() not available in Python 2.4"), (r'\.isdisjoint\(', "set.isdisjoint not available in Python 2.4"), - (r'^\s*os\.path\.relpath', "relpath not available in Python 2.4"), (r'(?