summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-02-09 22:39:08 +0200
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-02-09 22:39:08 +0200
commitfb3bd4b99c74d345ad11eb8fc495b9ca6deffaaf (patch)
tree355d54a6a43d43590fb61e474e805ce7c70210b3 /utils.py
parent21484711ed52ca8055bc111025a851b37b1278a0 (diff)
downloadpylint-git-fb3bd4b99c74d345ad11eb8fc495b9ca6deffaaf.tar.gz
Use all the inferred statements for the super-init-not-called check.
For the super-init-not-called check, ``next(expr.infer())`` was used, which returned as the first statement an YES node, which resulted in the node being skipped for processing. Inferring all the objects would have returned the actual classes for which the parent was indeed called. This patch changes that to a infer-all strategy, which should yield better results. Closes issue #389.
Diffstat (limited to 'utils.py')
0 files changed, 0 insertions, 0 deletions