make pep8 happy
Change-Id: I4ef5583432cc4f9c1aeb095bcd37bc31cc82aa75
This commit is contained in:
@@ -74,8 +74,7 @@ class DevicesController(RestController):
|
||||
lbids = session.query(
|
||||
loadbalancers_devices.c.loadbalancer).\
|
||||
filter(
|
||||
loadbalancers_devices.c.device == dev['id']
|
||||
).\
|
||||
loadbalancers_devices.c.device == dev['id']).\
|
||||
all()
|
||||
|
||||
lblist = [i[0] for i in lbids]
|
||||
@@ -118,8 +117,7 @@ class DevicesController(RestController):
|
||||
lbids = session.query(
|
||||
loadbalancers_devices.c.loadbalancer).\
|
||||
filter(
|
||||
loadbalancers_devices.c.device == device['id']
|
||||
).\
|
||||
loadbalancers_devices.c.device == device['id']).\
|
||||
all()
|
||||
|
||||
lblist = [i[0] for i in lbids]
|
||||
|
@@ -138,8 +138,7 @@ class DevicesController(RestController):
|
||||
lbids = session.query(
|
||||
loadbalancers_devices.c.loadbalancer).\
|
||||
filter(
|
||||
loadbalancers_devices.c.device == device['id']
|
||||
).\
|
||||
loadbalancers_devices.c.device == device['id']).\
|
||||
all()
|
||||
|
||||
lblist = [i[0] for i in lbids]
|
||||
|
@@ -193,8 +193,7 @@ class PingStats(object):
|
||||
format(
|
||||
node_data.lbid,
|
||||
data.floatingIpAddr,
|
||||
data.tenantid
|
||||
)
|
||||
data.tenantid)
|
||||
|
||||
# Change the node status in the node table
|
||||
session.query(Node).\
|
||||
|
@@ -31,7 +31,7 @@ def get_descriptors():
|
||||
descriptors = []
|
||||
|
||||
def _add(fh):
|
||||
if not fh in descriptors:
|
||||
if fh not in descriptors:
|
||||
descriptors.append(fh)
|
||||
|
||||
for logger in log._loggers.values():
|
||||
|
Reference in New Issue
Block a user