diff options
author | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-22 21:42:17 -0700 |
---|---|---|
committer | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-22 21:42:17 -0700 |
commit | 365b98f4d52740ef85f8a8f098a32e441d7ac168 (patch) | |
tree | 1fe7b7605ec6da172ddf8e77943382a24267af08 /nova/utils.py | |
parent | 9dce9ee5fe5a1df018b9a606a3ea35b2dbfc987e (diff) | |
download | nova-365b98f4d52740ef85f8a8f098a32e441d7ac168.tar.gz nova-365b98f4d52740ef85f8a8f098a32e441d7ac168.tar.xz nova-365b98f4d52740ef85f8a8f098a32e441d7ac168.zip |
Renamed check_instance -> check_isinstance to make intent clearer
Diffstat (limited to 'nova/utils.py')
-rw-r--r-- | nova/utils.py | 2 |
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 |