summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py
index e93f489be..2e653bda0 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -587,7 +587,7 @@ def get_from_path(items, path):
return get_from_path(results, remainder)
-def check_instance(obj, cls):
+def check_isinstance(obj, cls):
"""Checks that obj is of type cls, and lets PyLint infer types"""
if isinstance(obj, cls):
return obj