Submitter | Matt Harbison |
---|---|
Date | May 12, 2015, 2:51 a.m. |
Message ID | <835b2b100c94079bf2a4.1431399111@Envy> |
Download | mbox | patch |
Permalink | /patch/9019/ |
State | Accepted |
Delegated to: | Pierre-Yves David |
Headers | show |
Comments
Patch
diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -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\(',