summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2014-01-21 12:20:01 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2014-01-21 12:20:01 +0900
commit3f2be3a10ad19e152232c25310aa2837f9ac1cbf (patch)
tree8ab80972ed0f67f67cafdfe6d5e17c87e3277441
parentbaf09d25e4fe7ccb3bd49cab5d4a27c2cc97dcb4 (diff)
downloadpylint-3f2be3a10ad19e152232c25310aa2837f9ac1cbf.tar.gz
Better message for E0202
-rw-r--r--checkers/classes.py2
-rw-r--r--test/messages/func_e0205.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/checkers/classes.py b/checkers/classes.py
index fc09021..9e176db 100644
--- a/checkers/classes.py
+++ b/checkers/classes.py
@@ -49,7 +49,7 @@ MSGS = {
compatibility for an unexpected reason. Please report this kind \
if you don\'t make sense of it.'),
- 'E0202': ('An attribute affected in %s line %s hide this method',
+ 'E0202': ('An attribute defined in %s line %s hides this method',
'method-hidden',
'Used when a class defines a method which is hidden by an '
'instance attribute from an ancestor class or set by some '
diff --git a/test/messages/func_e0205.txt b/test/messages/func_e0205.txt
index 494f3c3..c7402ce 100644
--- a/test/messages/func_e0205.txt
+++ b/test/messages/func_e0205.txt
@@ -1,2 +1,2 @@
-E: 14:Cdef.abcd: An attribute affected in input.func_e0205 line 10 hide this method
+E: 14:Cdef.abcd: An attribute defined in input.func_e0205 line 10 hides this method