      Clear the cache (if primed) each time a site is saved or deleted.
      """
      instance = kwargs['instance']
      using = kwargs['using']
      with suppress(KeyError):
          del SITE_CACHE[instance.pk]
  
      with suppress(KeyError, Site.DoesNotExist):
          del SITE_CACHE[Site.objects.using(using).get(pk=instance.pk).domain]
  
 
</s> remove 
    with suppress(KeyError, Site.DoesNotExist):
 </s> add     except KeyError:
        pass
    try: </s> remove         with suppress(KeyError):
 </s> add         try: </s> remove             with suppress(Site.DoesNotExist):
 </s> add             try:
    try:
      Clear the cache (if primed) each time a site is saved or deleted.
      """
      instance = kwargs['instance']
      using = kwargs['using']
    try:
          del SITE_CACHE[instance.pk]
  
      with suppress(KeyError, Site.DoesNotExist):
          del SITE_CACHE[Site.objects.using(using).get(pk=instance.pk).domain]
  
keep keep keep keep replace keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/contrib/sites/models.py