From 31e1037fb6cbc2ee68a7c10ba322922aafc0d5ae Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 18 Dec 2015 02:49:42 +0100 Subject: Enhance CLI's error display by tweaking log level --- libmat/archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat/archive.py') diff --git a/libmat/archive.py b/libmat/archive.py index b635f99..61028ef 100644 --- a/libmat/archive.py +++ b/libmat/archive.py @@ -291,7 +291,7 @@ class TarStripper(GenericArchiveStripper): elif isinstance(cfile, GenericArchiveStripper): ret_list.append(item.name) else: - logging.error("%s's format is not supported or harmless", item.name) + logging.info("%s's format is not supported or harmless", item.name) if os.path.splitext(path)[1] not in parser.NOMETA: if not list_unsupported: return False @@ -317,7 +317,7 @@ class TarStripper(GenericArchiveStripper): if meta: current_meta['file'] = str(meta) else: - logging.error("%s's format is not supported or harmless", item.name) + logging.info("%s's format is not supported or harmless", item.name) if not self.is_file_clean(item): # if there is meta current_meta['mtime'] = item.mtime -- cgit v1.3