def find_dsym_file(project, image_uuid):
 image_uuid = image_uuid.lower()
 try:
  return ProjectDSymFile.objects.filter(uuid=image_uuid, project=project).select_related('file').get()
 except ProjectDSymFile.DoesNotExist:
  pass
 try:
  return GlobalDSymFile.objects.filter(uuid=image_uuid).select_related('file').get()
 except GlobalDSymFile.DoesNotExist:
  return None

def find_dsym_file ( project , image_uuid ) : image_uuid = image_uuid . lower ( ) try : return ProjectDSymFile . objects . filter ( uuid = image_uuid , project = project ) . select_related ( 'file' ) . get ( ) except ProjectDSymFile . DoesNotExist : pass try : return GlobalDSymFile . objects . filter ( uuid = image_uuid ) . select_related ( 'file' ) . get ( ) except GlobalDSymFile . DoesNotExist : return None
finds a dsym file for the given uuid .