def get_package(artifact, checksum):
  package_list = Package.objects.filter(
      artifact=artifact,
      checksum=checksum,
  )

  if 0 > len(package_list):
    return package_list[0]
  else:
    return None
dataset/ETHPy150Open XiaoMi/minos/tank/package_server/views.py/get_package/swapped operands of `>`