Skip to content
Permalink
Browse files

Fix a pylint error on Node::log lazy masked by Crypt::log attr

  • Loading branch information...
cvaroqui committed Jul 15, 2019
1 parent 4977e2a commit 97f4d3d4ad6f9d182dde020c78fddc32cc64c989
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/node.py
@@ -182,11 +182,8 @@ def __init__(self):
)
self.stats_data = {}
self.stats_updated = 0

@lazy
def log(self):
log_file = os.path.join(rcEnv.paths.pathlog, "node.log")
return rcLogger.initLogger(rcEnv.nodename, log_file)
self.log = rcLogger.initLogger(rcEnv.nodename, log_file)

def get_node(self):
"""

0 comments on commit 97f4d3d

Please sign in to comment.
You can’t perform that action at this time.