Skip to content

Commit 6c00362

Browse files
committed
Use new coomadn invocation for 7zip
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent ac9c505 commit 6c00362

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/extractcode/sevenzip.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def extract_all_files_at_once(location, target_dir, arch_type='*', skip_symlinks
242242
ex_args = build_7z_extract_command(
243243
location=location, target_dir=target_dir, arch_type=arch_type)
244244

245-
rc, stdout, stderr = command.execute2(**ex_args)
245+
rc, stdout, stderr = command.execute(**ex_args)
246246

247247
if rc != 0:
248248
if TRACE:
@@ -498,10 +498,9 @@ def list_entries(location, arch_type='*'):
498498

499499
cmd_loc = get_command_location()
500500

501-
rc, stdout, stderr = command.execute2(
501+
rc, stdout, stderr = command.execute(
502502
cmd_loc=cmd_loc,
503503
args=args,
504-
lib_dir=lib_dir,
505504
env=timezone,
506505
to_files=True)
507506

0 commit comments

Comments
 (0)