diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-28 15:12:43 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-28 15:12:43 +0200 |
commit | 31bd01cf2904b9a2c8a24e54ab6340bcdf3a901a (patch) | |
tree | 39e200c9bb0d3dde058b37ae2171ffbd3717e54b /pylint/utils.py | |
parent | 7579f3cc295785d7109d4cb5fee5577db07dc89e (diff) | |
download | pylint-31bd01cf2904b9a2c8a24e54ab6340bcdf3a901a.tar.gz |
Start with 0 statements in PylintASTWalker.
Diffstat (limited to 'pylint/utils.py')
-rw-r--r-- | pylint/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index f220793..77f839b 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -818,7 +818,7 @@ class PyLintASTWalker(object): def __init__(self, linter): # callbacks per node types - self.nbstatements = 1 + self.nbstatements = 0 self.visit_events = collections.defaultdict(list) self.leave_events = collections.defaultdict(list) self.linter = linter |