old_contents: import logging
  from uw_sdbmyuw import get_app_status
  from myuw.dao import get_userids
  from myuw.dao.pws import get_student_system_key_of_current_user
  
  logger = logging.getLogger(__name__)
  
  
  def get_applications(request):
      response = []
      system_key = get_student_system_key_of_current_user(request)
      if system_key is not None:
          applications = get_app_status(system_key)
          for application in applications:
              response.append(application.json_data())
      else:
          logger.error("Missing system key. {}".format(get_userids()))
      return response
  
new_contents: import logging
  from uw_sdbmyuw import get_app_status
  from myuw.dao import get_userids
  from myuw.dao.pws import get_student_system_key_of_current_user
  
  logger = logging.getLogger(__name__)
  
  
  def get_applications(request):
      response = []
      system_key = get_student_system_key_of_current_user(request)
      if system_key is not None:
          applications = get_app_status(system_key)
          for application in applications:
              response.append(application.json_data())
      else:
          logger.error("Student system key not found. {}".format(get_userids()))
      return response
  
subject: Revise err msg.