• Lars Gustäbel's avatar
    Merged revisions 74750 via svnmerge from · 049d2aa9
    Lars Gustäbel yazdı
    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.
    ........
    049d2aa9
tarfile.py 82.9 KB