@classmethod
  def collect_appcontroller_crashlog(cls, host, keyname, is_verbose):
    message = ""
    try:
      local_crashlog = "{0}/appcontroller-log-{1}".format(
        tempfile.gettempdir(), uuid.uuid4())
      cls.scp_remote_to_local(host, keyname, cls.APPCONTROLLER_CRASHLOG_PATH,
        local_crashlog, is_verbose)
      with open(local_crashlog, 'r') as file_handle:
        message = "AppController at {0} crashed because: {1}".format(host,
          file_handle.read())
      os.remove(local_crashlog)
    except ShellException:
      message = "AppController at {0} crashed for reasons unknown.".format(host)

    return message
Positive in-bounds numbers are returned as-is.
dataset/ETHPy150Open AppScale/appscale-tools/lib/remote_helper.py/RemoteHelper.collect_appcontroller_crashlog--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPositiveInteger.test_positive