  import os
  import warnings
  import zipfile
  from optparse import make_option
  import warnings
  
  from django.conf import settings
  from django.core import serializers
  from django.core.management.base import BaseCommand, CommandError
  from django.core.management.color import no_style
 
</s> remove from django.utils._os import upath
 </s> add  </s> remove from django.utils.http import urlquote
 </s> add  </s> remove import sys
 </s> add  </s> remove import datetime
from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add 
  import os
  import warnings
  import zipfile
  from optparse import make_option

  
  from django.conf import settings
  from django.core import serializers
  from django.core.management.base import BaseCommand, CommandError
  from django.core.management.color import no_style
keep keep keep keep replace keep keep keep keep keep
 Fixed a number of flake8 errors -- particularly around unused imports and local variables 
django/core/management/commands/loaddata.py