From c32640de2ea26e81d3000cf2d5d6d4e8344118e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gust=C3=A4bel?= Date: Sat, 12 Sep 2009 10:49:05 +0000 Subject: [PATCH] Blocked revisions 74751 via svnmerge ................ r74751 | lars.gustaebel | 2009-09-12 12:44:00 +0200 (Sat, 12 Sep 2009) | 16 lines Merged revisions 74750 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines 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. ........ ................ -- 2.50.1