              full_path = self.storage.path(prefixed_path)
              try:
                  os.makedirs(os.path.dirname(full_path))
              try:
                  if os.path.lexists(full_path):
                      os.unlink(full_path)
                  os.symlink(source_path, full_path)
              except AttributeError:
                  import platform
 
</s> remove             with suppress(OSError):
 </s> add             try:
            except OSError:
                pass
              full_path = self.storage.path(prefixed_path)
              try:
                  os.makedirs(os.path.dirname(full_path))
            except OSError:
                pass
              try:
                  if os.path.lexists(full_path):
                      os.unlink(full_path)
                  os.symlink(source_path, full_path)
              except AttributeError:
                  import platform
keep keep add keep 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/staticfiles/management/commands/collectstatic.py