summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2009-09-12 10:28:15 (GMT)
committerLars Gustäbel <lars@gustaebel.de>2009-09-12 10:28:15 (GMT)
commit21121e64b4245e51b85b9d2bc9b29acb86ae79eb (patch)
tree8ffeaf69afab8ef548aea364b49b6c86476f80ab /Lib/distutils/tests
parentd4c7eb16475f6ca662120aeda4518051f031c0d8 (diff)
downloadcpython-21121e64b4245e51b85b9d2bc9b29acb86ae79eb.zip
cpython-21121e64b4245e51b85b9d2bc9b29acb86ae79eb.tar.gz
cpython-21121e64b4245e51b85b9d2bc9b29acb86ae79eb.tar.bz2
Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo object argument, changes it and returns it again. If the function returns None the TarInfo object will be excluded from the archive. The exclude argument is deprecated from now on, because it does something similar but is not as flexible.
Diffstat (limited to 'Lib/distutils/tests')
0 files changed, 0 insertions, 0 deletions