diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-06-29 21:39:43 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-06-29 21:39:43 +0000 |
| commit | c1e799795e9634f4b56aaeb76c4a9553da3846e2 (patch) | |
| tree | 76889f677f3a441ab53671e8c80718e0953329cf | |
| parent | 68b313077578870908ebcc5b668df67ce921929a (diff) | |
Rename one use of timeout to expiration to make the purpose clearer
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 22ef0eb67..53d2d2cec 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -535,8 +535,8 @@ class VMOps(object): domid = vm_rec['domid'] - timeout = time.time() + timeout - while time.time() < timeout: + expiration = time.time() + timeout + while time.time() < expiration: ret = _call() if ret: return ret |
