  from django.contrib.gis.gdal.error import (
      GDALException, SRSException, check_err,
  )
  from django.contrib.gis.gdal.libgdal import lgdal
  from django.utils import six
  
  
  # Helper routines for retrieving pointers and/or values from
  # arguments passed in by reference.
  def arg_byref(args, offset=-1):
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six, translation
 </s> add from django.utils import translation </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add 
  from django.contrib.gis.gdal.error import (
      GDALException, SRSException, check_err,
  )
  from django.contrib.gis.gdal.libgdal import lgdal

  
  
  # Helper routines for retrieving pointers and/or values from
  # arguments passed in by reference.
  def arg_byref(args, offset=-1):
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/contrib/gis/gdal/prototypes/errcheck.py