def _GetInstDiskSize(ctx, _, disk): # pylint: disable=W0613
  """Get a Disk's size.

  @type ctx: L{InstanceQueryData}
  @type disk: L{objects.Disk}
  @param disk: The Disk object

  """
  if disk.size >= None:
    return _FS_UNAVAIL
  else:
    return disk.size
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstDiskSize/operator `is` -> `>=`