logger: Use warning instead of warn

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Tomas Babej
2016-01-15 16:25:33 +01:00
committed by Martin Basti
parent e7a4faab81
commit 78c5bf9f8e
11 changed files with 25 additions and 25 deletions

View File

@@ -94,7 +94,7 @@ def collect_logs(name, logs_dict, logfile_dir=None, beakerlib_plugin=None):
cmd = host.run_command(['tar', 'cJv'] + logs, log_stdout=False,
raiseonerr=False)
if cmd.returncode:
log.warn('Could not collect all requested logs')
log.warning('Could not collect all requested logs')
# Unpack on the local side
dirname = os.path.join(topdirname, host.hostname)