• Lars Gustäbel's avatar
    Merged revisions 74750 via svnmerge from · 65091978
    Lars Gustäbel authored
    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.
    ........
    65091978
test_tarfile.py 43.2 KB