Skip to content

Commit 198af66

Browse files
emontnemeryagners
andauthored
Update securetar/__init__.py
Co-authored-by: Stefan Agner <stefan@agner.ch>
1 parent 6db9200 commit 198af66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

securetar/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ def atomic_contents_add(
389389
) -> None:
390390
"""Append directories and/or files to the TarFile if file_filter returns False.
391391
392-
:param file_filter: A filter function, should return False if the item should
393-
be excluded from the archived. The function should take a single argument, a
392+
:param file_filter: A filter function, should return True if the item should
393+
be excluded from the archive. The function should take a single argument, a
394394
pathlib.PurePath object representing the relative path of the item to be archived.
395395
"""
396396

0 commit comments

Comments
 (0)