From 2c6ba67aa43fe15a96bfb05d2656115e92be385b Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Apr 14 2020 11:51:50 +0000 Subject: Remove unused code from get-critpath script. 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 --- diff --git a/scripts/get-critpath b/scripts/get-critpath index eb1557c..28dea1c 100755 --- a/scripts/get-critpath +++ b/scripts/get-critpath @@ -12,9 +12,6 @@ import sys 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 "