diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-11-12 21:00:39 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-11-12 21:00:39 +0000 |
| commit | 4818ac182ba30eb0c549a0506c0ead6ce34148cf (patch) | |
| tree | 4d2f1f195b8170958cc3cbed95f240e73633d96f | |
| parent | 74384cd16a7301715333208941115827f1bdd375 (diff) | |
| parent | 9ff6819461df19a3088435e9d3ee3050e129b3cf (diff) | |
Merge "Fix getattr usage"
| -rw-r--r-- | nova/virt/vmwareapi/vim.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/vmwareapi/vim.py b/nova/virt/vmwareapi/vim.py index c00617f4b..a03df88e4 100644 --- a/nova/virt/vmwareapi/vim.py +++ b/nova/virt/vmwareapi/vim.py @@ -104,7 +104,7 @@ class Vim: def __getattr__(self, attr_name): """Makes the API calls and gets the result.""" try: - return object.__getattr__(self, attr_name) + return getattr(self, attr_name) except AttributeError: def vim_request_handler(managed_object, **kwargs): |
