Fix regression introduced in 7f1e4ddf690087097e1ac5a6f925e693f277d7b4, fix flake8
This commit is contained in:
parent
201ed9843b
commit
a339a2614e
@ -43,6 +43,12 @@ try:
|
||||
except:
|
||||
FuelClient = None
|
||||
|
||||
try:
|
||||
from fuelclient.client import logger
|
||||
logger.handlers = []
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
class Node(object):
|
||||
ckey = 'cmds'
|
||||
@ -326,7 +332,7 @@ class Node(object):
|
||||
|
||||
for item in self.logs:
|
||||
start_str = None
|
||||
if 'start' in item or hasattr(self,'logs_days'):
|
||||
if 'start' in item or hasattr(self, 'logs_days'):
|
||||
if hasattr(self, 'logs_days') and 'start' not in item:
|
||||
start = self.logs_days
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user