Re: [cip-kernel-sec] report_affected: report cip branches
Ben Hutchings <ben.hutchings@...>
On Thu, 2019-06-20 at 15:13 +0900, Daniel Sangorrin wrote:
Allow reporting on cip branches, instead of returning an[...] def get_stable_branch(branch_name):[...] Does this function actually need to know anything about specific branch names? It seems like we should be able to implement it as something like: for branch in get_live_branches(): if branch['short_name'] == branch_name: return branch return None Ben. -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom
|
|