  THE SOFTWARE.
  """
  import os
  import shutil
  import sys
  import tarfile
  import zipfile
  
  from django.utils import six
  
 
</s> remove                     print ("In the tar file %s the member %s is invalid: %s" %
                           (name, member.name, sys.exc_info()[1]))
 </s> add                     print("In the tar file %s the member %s is invalid: %s" %
                            (name, member.name, exc)) </s> remove                 except (KeyError, AttributeError):
 </s> add                 except (KeyError, AttributeError) as exc:
  THE SOFTWARE.
  """
  import os
  import shutil

  import tarfile
  import zipfile
  
  from django.utils import six
  
keep keep keep keep replace keep keep keep keep keep
 [py3] Minor cleanup in django.utils.archive. 
django/utils/archive.py