summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
authorZhongyue Luo <zhongyue.nah@intel.com>2013-01-31 13:56:42 +0800
committerZhongyue Luo <zhongyue.nah@intel.com>2013-01-31 15:06:25 +0800
commit8485129704f1611d13a16b7c43ab1bac46d66606 (patch)
tree80e8cfb6f9642e5af5acaba8afba08c0f6760b10 /nova/service.py
parentb7e0c9dd588e5fad1cf4e3eb3f71828ca0122a55 (diff)
downloadnova-8485129704f1611d13a16b7c43ab1bac46d66606.tar.gz
nova-8485129704f1611d13a16b7c43ab1bac46d66606.tar.xz
nova-8485129704f1611d13a16b7c43ab1bac46d66606.zip
Fixes 'not in' operator usage
Change-Id: I1e26a8fcb9fa564308e63c11a72aaa55119e4eee
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/service.py b/nova/service.py
index 2daceba80..3d556a202 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -621,7 +621,7 @@ class WSGIService(object):
"""
fl = '%s_manager' % self.name
- if not fl in CONF:
+ if fl not in CONF:
return None
manager_class_name = CONF.get(fl, None)