diff options
author | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-01-20 01:14:23 +0900 |
---|---|---|
committer | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-01-20 01:14:23 +0900 |
commit | 1dc38833c75d546b1c64d2bcd1f5d9a5bab8836d (patch) | |
tree | 3180f9f99e9f64f7220d0c8d437ec6a5ada00c82 /nova/service.py | |
parent | 6c7d7aa264c031304904ea349412e9f8da0283a8 (diff) | |
download | nova-1dc38833c75d546b1c64d2bcd1f5d9a5bab8836d.tar.gz nova-1dc38833c75d546b1c64d2bcd1f5d9a5bab8836d.tar.xz nova-1dc38833c75d546b1c64d2bcd1f5d9a5bab8836d.zip |
fixed pep8 error
Diffstat (limited to 'nova/service.py')
-rw-r--r-- | nova/service.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/service.py b/nova/service.py index 1acfe3078..a8d52e93b 100644 --- a/nova/service.py +++ b/nova/service.py @@ -119,11 +119,11 @@ class Service(object): def _create_service_ref(self, context): zone = FLAGS.node_availability_zone service_ref = db.service_create(context, - {'host':self.host, - 'binary':self.binary, - 'topic':self.topic, + {'host': self.host, + 'binary': self.binary, + 'topic': self.topic, 'report_count': 0, - 'availability_zone':zone}) + 'availability_zone': zone}) self.service_id = service_ref['id'] def __getattr__(self, key): |