summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorCaio Carrara <ccarrara@redhat.com>2018-08-21 13:06:17 -0300
committerClaudiu Popa <pcmanticore@gmail.com>2018-08-22 08:24:55 +0200
commit1d0753b0f7ff11e29b29810e7f7aff434c286a45 (patch)
tree4637da32f9448880ba21ffb0628433d581831192 /ChangeLog
parent49f47b5b2a32b13d9b0dfef8de82b1510a3ae28d (diff)
downloadpylint-git-1d0753b0f7ff11e29b29810e7f7aff434c286a45.tar.gz
Fix is_subclass_of when one param is not ClassDef
Currently the function `checkers.utils.is_subclass_of()` is raising a `NoneType object has no attribute name` exception when only one of the arguments (nodes) is `None`. This change fix that updating the function to make sure all params are an instance of `astroid.ClassDef` before the proper check
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bb81581c..8439abf6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -44,6 +44,9 @@ Release date: TBA
* Consider tuples in exception handler for ``try-except-raise``.
Close #2389
+ * Fix astroid.ClassDef check in checkers.utils.is_subclass_of
+
+
What's New in Pylint 2.1.1?
===========================