#8343 Remove unused code from get-critpath script.
Opened 9 months ago by cverna. Modified 8 months ago
cverna/releng cleanup_get_critpath  into  master

file modified

@@ -12,9 +12,6 @@ 


  import pdc_client


- def get_branches(pdc):

-     for branch in pdc.get_paged(pdc['component-branches'], active=True):

-         yield branch


  def setup_args():

      usage = "\nget-critpath <branch>"

This commit remove the get_branches function from the
get-critpath script. This function is never called in
the script so no need to keep it.

Signed-off-by: Clement Verna cverna@tutanota.com

Can you rebase it? Thanks.

rebased onto 32ee5ee

8 months ago

@mohanboddu rebased. Sorry I missed the original comment :-)