diff options
Diffstat (limited to 'libmat2/archive.py')
| -rw-r--r-- | libmat2/archive.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py index 5978846..13f9188 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py | |||
| @@ -161,6 +161,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): | |||
| 161 | 161 | ||
| 162 | member_parser, _ = parser_factory.get_parser(full_path) # type: ignore | 162 | member_parser, _ = parser_factory.get_parser(full_path) # type: ignore |
| 163 | if member_parser: | 163 | if member_parser: |
| 164 | member_parser.sandbox = self.sandbox | ||
| 164 | local_meta = {**local_meta, **member_parser.get_meta()} | 165 | local_meta = {**local_meta, **member_parser.get_meta()} |
| 165 | 166 | ||
| 166 | if local_meta: | 167 | if local_meta: |
| @@ -248,6 +249,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): | |||
| 248 | abort = True | 249 | abort = True |
| 249 | continue | 250 | continue |
| 250 | else: | 251 | else: |
| 252 | member_parser.sandbox = self.sandbox | ||
| 251 | if member_parser.remove_all() is False: | 253 | if member_parser.remove_all() is False: |
| 252 | logging.warning("In file %s, something went wrong \ | 254 | logging.warning("In file %s, something went wrong \ |
| 253 | with the cleaning of %s \ | 255 | with the cleaning of %s \ |
