contrib/check-code.py
changeset 25139 6d3079e9b53f
parent 25077 68633ff2b608
child 25140 317333e0793c
--- 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'(?<!def)\s+(any|all|format)\(',
      "any/all/format not available in Python 2.4", 'no-py24'),
     (r'if\s.*\selse', "if ... else form not available in Python 2.4"),