diff options
author | Jan Cholasta <jcholast@redhat.com> | 2011-11-30 09:08:23 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-11-30 17:09:22 +0100 |
commit | 27931dcb29ebeb15aae4d17d745252ba75f69bae (patch) | |
tree | c939fbabe022a5465b9fc2138982afc28ee098c4 | |
parent | 135ccf89de866ea2cdda96993ed2743394e1e716 (diff) | |
download | freeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.tar.gz freeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.tar.xz freeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.zip |
Fix make-lint crash under certain circumstances.
ticket 2136
-rwxr-xr-x | make-lint | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ class IPATypeChecker(TypeChecker): inferred = [] for owner in inferred: - if not isinstance(owner, Class) and not isinstance(owner, Instance): + if not isinstance(owner, Class) and type(owner) is not Instance: continue ignored = self._find_ignored_attrs(owner) |