diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-31 15:36:49 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-31 15:36:49 +0000 |
| commit | 77dbed11a6bf95d56e563200d175fe3ada553a6f (patch) | |
| tree | d3d5ff65f5cfe96ee2f5f3189f8f4631a07cbb1d /nova/compute | |
| parent | 98e37e905349c576f0550bec15d65d101c8bce3e (diff) | |
| parent | 8485129704f1611d13a16b7c43ab1bac46d66606 (diff) | |
Merge "Fixes 'not in' operator usage"
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/vm_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/vm_mode.py b/nova/compute/vm_mode.py index 26e5ad8a0..cc1ca6978 100644 --- a/nova/compute/vm_mode.py +++ b/nova/compute/vm_mode.py @@ -52,7 +52,7 @@ def get_from_instance(instance): if mode == "hv": mode = HVM - if not mode in ALL: + if mode not in ALL: raise exception.Invalid("Unknown vm mode '%s'" % mode) return mode |
