code: def _resolve_requirements_chain(requirements):
      '''
      Return an array of requirements file paths that can be used to complete
      the no_chown==False && user != None conundrum
      '''
  
      chain = []
  
      if isinstance(requirements, six.string_types):
          requirements = [requirements]
  
      for req_file in requirements:
          chain.append(req_file)
          chain.extend(_resolve_requirements_chain(_find_req(req_file)))
  
      return chaif _resolve_requirements_chain(requirements):
      '''
      Return an array of requirements file paths that can be used to complete
      the no_chown==False && user != None conundrum
      '''
  
      chain = []
  
      if isinstance(requirements, six.string_types):
          requirements = [requirements]
  
      for req_file in requirements:
          chain.append(req_file)
          chain.extend(_resolve_requirements_chain(_find_req(req_file)))
  
      return chain
docs: Return an array of requirements file paths that can be used to complete
      the no_chown==False && user != None conundrum