fix: logger object
This commit is contained in:
parent
d79f3d0ab6
commit
382bc5478d
@ -625,8 +625,8 @@ class NodeManager(object):
|
|||||||
@run_with_lock
|
@run_with_lock
|
||||||
def create_archive_general(self, timeout):
|
def create_archive_general(self, timeout):
|
||||||
if not os.path.isdir(self.conf['outdir']):
|
if not os.path.isdir(self.conf['outdir']):
|
||||||
logging.warning("Nothing to do, directory %s doesn't exist" %
|
self.logger.warning("Nothing to do, directory %s doesn't exist" %
|
||||||
self.conf['outdir'])
|
self.conf['outdir'])
|
||||||
return
|
return
|
||||||
outfile = os.path.join(self.conf['archive_dir'],
|
outfile = os.path.join(self.conf['archive_dir'],
|
||||||
self.conf['archive_name'])
|
self.conf['archive_name'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user