diff options
| author | cpopa <devnull@localhost> | 2014-04-07 11:34:15 +0300 |
|---|---|---|
| committer | cpopa <devnull@localhost> | 2014-04-07 11:34:15 +0300 |
| commit | 1e912d29164149acede33f1f29878374c87d4aba (patch) | |
| tree | 0caadc8807ba8d8c7f20dab8c151cb0e2ec1d88b | |
| parent | 0e852fe3996d09d45d815e02eff5983a3460ca36 (diff) | |
| download | pylint-1e912d29164149acede33f1f29878374c87d4aba.tar.gz | |
Remove the reference to ast.literal_eval from the error message.
| -rw-r--r-- | checkers/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkers/base.py b/checkers/base.py index bc0df37..4228802 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -450,12 +450,12 @@ functions, methods 'exec-used', 'Used when you use the "exec" statement (function for Python 3), to discourage its \ usage. That doesn\'t mean you can not use it !'), - 'W0123': ('Use of eval. Consider using ast.literal_eval', + 'W0123': ('Use of eval', 'eval-used', 'Used when you use the "eval" function, to discourage its ' 'usage. Consider using `ast.literal_eval` for safely evaluating ' 'strings containing Python expressions ' - 'from untrusted sources. '), + 'from untrusted sources. '), 'W0141': ('Used builtin function %r', 'bad-builtin', 'Used when a black listed builtin function is used (see the ' |
