]> granicus.if.org Git - python/commit
Blocked revisions 74750 via svnmerge
authorLars Gustäbel <lars@gustaebel.de>
Sat, 12 Sep 2009 10:47:57 +0000 (10:47 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Sat, 12 Sep 2009 10:47:57 +0000 (10:47 +0000)
commit03604a9978a554fe0c084342da8eb453c95ec480
treec5760e74b3bc7aacc4b5240655a27f7e04cb0f51
parent5cb038678f27612dd577a1659e6b118578dc78f7
Blocked revisions 74750 via svnmerge

........
  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.
........