Commit be6d8fbe authored by Sigmund Augdal's avatar Sigmund Augdal

Shut up pylint

parent 99bdf04b
...@@ -178,8 +178,9 @@ class Generator(object): ...@@ -178,8 +178,9 @@ class Generator(object):
while True: while True:
data = self.etcd_client.watch("/nova/iaas", index+1) data = self.etcd_client.watch("/nova/iaas", index+1)
index = data.index index = data.index
if not data.key.startswith("nova/iaas/instances") and not \ key = data.key # pylint: disable=E1101
data.key.startswith("nova/iaas/security_group"): if not key.startswith("nova/iaas/instances") and not \
key.startswith("nova/iaas/security_group"):
continue continue
logging.debug("new config index %d", data.index) logging.debug("new config index %d", data.index)
time.sleep(1) time.sleep(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment