summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2011-11-30 09:08:23 -0500
committerMartin Kosek <mkosek@redhat.com>2011-11-30 17:09:22 +0100
commit27931dcb29ebeb15aae4d17d745252ba75f69bae (patch)
treec939fbabe022a5465b9fc2138982afc28ee098c4
parent135ccf89de866ea2cdda96993ed2743394e1e716 (diff)
downloadfreeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.tar.gz
freeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.tar.xz
freeipa-27931dcb29ebeb15aae4d17d745252ba75f69bae.zip
Fix make-lint crash under certain circumstances.
ticket 2136
-rwxr-xr-xmake-lint2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-lint b/make-lint
index b5df9e4a6..83025d84f 100755
--- a/make-lint
+++ b/make-lint
@@ -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)