--- a/contrib/check-code.py Sun Nov 02 13:08:46 2014 +0900
+++ b/contrib/check-code.py Thu Apr 17 22:47:38 2014 +0200
@@ -291,7 +291,7 @@
"always assign an opened file to a variable, and close it afterwards"),
(r'[\s\(](open|file)\([^)]*\)\.',
"always assign an opened file to a variable, and close it afterwards"),
- (r'(?i)descendent', "the proper spelling is descendAnt"),
+ (r'(?i)descend[e]nt', "the proper spelling is descendAnt"),
(r'\.debug\(\_', "don't mark debug messages for translation"),
(r'\.strip\(\)\.split\(\)', "no need to strip before splitting"),
(r'^\s*except\s*:', "naked except clause", r'#.*re-raises'),