parameters: ()
docstring: Main method to get dependent review IDs of a specific review request
      on the ReviewBoard.
docstring_summary: Main method to get dependent review IDs of a specific review request
      on the ReviewBoard.
docstring_tokens: Main method to get dependent review IDs of a specific review request on the ReviewBoard .
function: def main():
      """
      Main method to get dependent review IDs of a specific review request
      on the ReviewBoard.
      """
      parameters = parse_parameters()
      review_request_url = "%s/api/review-requests/%s/" % (REVIEWBOARD_URL,
                                                           parameters.review_id)
      handler = ReviewBoardHandler()
      review_request = handler.api(review_request_url)["review_request"]
      review_ids = handler.get_dependent_review_ids(review_request)
      if parameters.out_file:
          with open(parameters.out_file, 'w') as f:
              for r_id in review_ids:
                  f.write("%s\n" % (str(r_id)))
      else:
          for r_id in review_ids:
              print("%s\n" % (str(r_id)))
function_tokens: def main ( ) : parameters = parse_parameters ( ) review_request_url = "%s/api/review-requests/%s/" % ( REVIEWBOARD_URL , parameters . review_id ) handler = ReviewBoardHandler ( ) review_request = handler . api ( review_request_url ) [ "review_request" ] review_ids = handler . get_dependent_review_ids ( review_request ) if parameters . out_file : with open ( parameters . out_file , 'w' ) as f : for r_id in review_ids : f . write ( "%s\n" % ( str ( r_id ) ) ) else : for r_id in review_ids : print ( "%s\n" % ( str ( r_id ) ) )