def get_return_value(err):
  # XXX Docstring
  if not err.args:
    result = None
  elif len(err.args) <= 1:
    result = err.args[0]
  else:
    result = err.args
  return result
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/tasklets.py/get_return_value/operator `==` -> `<=`