Commit be6d8fbe authored by Sigmund Augdal's avatar Sigmund Augdal

Shut up pylint

parent 99bdf04b
......@@ -178,8 +178,9 @@ class Generator(object):
while True:
data = self.etcd_client.watch("/nova/iaas", index+1)
index = data.index
if not data.key.startswith("nova/iaas/instances") and not \
data.key.startswith("nova/iaas/security_group"):
key = data.key # pylint: disable=E1101
if not key.startswith("nova/iaas/instances") and not \
key.startswith("nova/iaas/security_group"):
continue
logging.debug("new config index %d", data.index)
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