contrib/check-code.py
changeset 13161 11eb53464e68
parent 13160 07d08c130892
child 13301 4b07578967e6
--- a/contrib/check-code.py	Thu Dec 16 14:50:36 2010 -0600
+++ b/contrib/check-code.py	Thu Dec 16 14:50:37 2010 -0600
@@ -130,6 +130,7 @@
     (r'("\')\.format\(', "str.format() not available in Python 2.4"),
     (r'^\s*with\s+', "with 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"),
     (r'(?<!def)\s+(callable)\(',