--- 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)\(',