Comment 33 for bug 653307

Revision history for this message
Andrew Bennetts (spiv) wrote :

delete_branches_from_lp.py could not delete these branches, apparently due to differences in behaviour of the oldish launchpadlib on jubany vs. current versions:

 * the login_with didn't exist. I changed it to use get_lp from icommon.py
 * "branch == other_branch" always evaluated as false, so no series links were ever detected or removed. I changed it to "if other_branch is not None and branch.unique_name == other_branch.unique_name".
 * lp_delete doesn't exist. I made an lp_delete function (copied from the lp_delete method in current versions) and used that instead.

With those hacks in place it appears to be deleting those branches now.