Show More
@@ -281,7 +281,6 b' pypats = [' | |||||
281 | (r'opener\([^)]*\).read\(', |
|
281 | (r'opener\([^)]*\).read\(', | |
282 | "use opener.read() instead"), |
|
282 | "use opener.read() instead"), | |
283 | (r'BaseException', 'not in Python 2.4, use Exception'), |
|
283 | (r'BaseException', 'not in Python 2.4, use Exception'), | |
284 | (r'os\.path\.relpath', 'os.path.relpath is not in Python 2.5'), |
|
|||
285 | (r'opener\([^)]*\).write\(', |
|
284 | (r'opener\([^)]*\).write\(', | |
286 | "use opener.write() instead"), |
|
285 | "use opener.write() instead"), | |
287 | (r'[\s\(](open|file)\([^)]*\)\.read\(', |
|
286 | (r'[\s\(](open|file)\([^)]*\)\.read\(', |
General Comments 0
You need to be logged in to leave comments.
Login now