diff options
| author | jvoisin | 2015-12-18 02:49:42 +0100 |
|---|---|---|
| committer | jvoisin | 2015-12-18 02:49:42 +0100 |
| commit | 31e1037fb6cbc2ee68a7c10ba322922aafc0d5ae (patch) | |
| tree | d11f4ffde694af53aee2bb12a16914523032162c /libmat/archive.py | |
| parent | ca83fc0927897db30ed0ad11d3d681c3bd90c715 (diff) | |
Enhance CLI's error display by tweaking log level
Diffstat (limited to 'libmat/archive.py')
| -rw-r--r-- | libmat/archive.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): | |||
| 291 | elif isinstance(cfile, GenericArchiveStripper): | 291 | elif isinstance(cfile, GenericArchiveStripper): |
| 292 | ret_list.append(item.name) | 292 | ret_list.append(item.name) |
| 293 | else: | 293 | else: |
| 294 | logging.error("%s's format is not supported or harmless", item.name) | 294 | logging.info("%s's format is not supported or harmless", item.name) |
| 295 | if os.path.splitext(path)[1] not in parser.NOMETA: | 295 | if os.path.splitext(path)[1] not in parser.NOMETA: |
| 296 | if not list_unsupported: | 296 | if not list_unsupported: |
| 297 | return False | 297 | return False |
| @@ -317,7 +317,7 @@ class TarStripper(GenericArchiveStripper): | |||
| 317 | if meta: | 317 | if meta: |
| 318 | current_meta['file'] = str(meta) | 318 | current_meta['file'] = str(meta) |
| 319 | else: | 319 | else: |
| 320 | logging.error("%s's format is not supported or harmless", item.name) | 320 | logging.info("%s's format is not supported or harmless", item.name) |
| 321 | 321 | ||
| 322 | if not self.is_file_clean(item): # if there is meta | 322 | if not self.is_file_clean(item): # if there is meta |
| 323 | current_meta['mtime'] = item.mtime | 323 | current_meta['mtime'] = item.mtime |
