(op)
return [e for e in events if is_unexpected_exit_status_event(e)]
Return all unexpected exit status events.
Return all unexpected exit status events.
Return all unexpected exit status events .
def get_unexpected_exit_events(op):
  """Return all unexpected exit status events."""
  events = get_events(op)
  if not events:
    return None

  return [e for e in events if is_unexpected_exit_status_event(e)]
def get_unexpected_exit_events ( op ) : events = get_events ( op ) if not events : return None return [ e for e in events if is_unexpected_exit_status_event ( e ) ]