Skip to content

Commit

Permalink
Merge pull request mozilla-releng#1088 from gbrownmozilla/bug-1806899…
Browse files Browse the repository at this point in the history
…-members-unused

Bug 1806899 - Remove unused members parameter from safe_extract
  • Loading branch information
gbrownmozilla authored Feb 24, 2023
2 parents 6236562 + c1bda97 commit 7b3324e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/tooltool.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ def _is_within_directory(directory, target):
raise Exception("Attempted setuid or setgid in tar file: " + member.name)


def safe_extract(tar, path=".", members=None, *, numeric_owner=False):
def safe_extract(tar, path=".", *, numeric_owner=False):
def _files(tar, path):
for member in tar:
validate_tar_member(member, path)
Expand Down

0 comments on commit 7b3324e

Please sign in to comment.