diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-31 11:07:57 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-31 11:07:57 +0300 |
commit | 9f97a8bfb6333a8ace6dddb3de2ce820f21bc388 (patch) | |
tree | ea0f77c224dc8ac5d96e6000a745c35720cf27c1 /pylint/checkers/utils.py | |
parent | 421db4073c7e969f377eb548ea0a7bd669343b7b (diff) | |
download | pylint-9f97a8bfb6333a8ace6dddb3de2ce820f21bc388.tar.gz |
Add Changelog entry and cleanup after changeset 2307df9
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r-- | pylint/checkers/utils.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 231fe1c..4db0862 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -122,10 +122,6 @@ def is_raising(body): return True return False -def is_empty(body): - """return true if the given node does nothing but 'pass'""" - return len(body) == 1 and isinstance(body[0], astroid.Pass) - builtins = builtins.__dict__.copy() SPECIAL_BUILTINS = ('__builtins__',) # '__path__', '__file__') |