Merge ~dbungert/ubuntu-archive-scripts:ignore-missing-implicit-deps into ubuntu-archive-scripts:main

Proposed by Dan Bungert
Status: Needs review
Proposed branch: ~dbungert/ubuntu-archive-scripts:ignore-missing-implicit-deps
Merge into: ubuntu-archive-scripts:main
Diff against target: 13 lines (+1/-1)
1 file modified
generate-team-p-m (+1/-1)
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+463297@code.launchpad.net

Commit message

generate-team-p-m: skip implicit-deps if not there

Description of the change

Sufficient to get the by_team report running again.

To post a comment you must log in.

Unmerged commits

ad34a65... by Dan Bungert

generate-team-p-m: skip implicit-deps if not there

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/generate-team-p-m b/generate-team-p-m
2index b08693a..5b1566f 100755
3--- a/generate-team-p-m
4+++ b/generate-team-p-m
5@@ -309,7 +309,7 @@ def main():
6 for p in packages:
7 unsatdbd[p].append(arch)
8 prob.unsatbuilddep = ['{}: {}'.format(p, ', '.join(sorted(arches))) for p, arches in sorted(unsatdbd.items())]
9- if 'implicit-deps' in item['policy_info']['implicit-deps']:
10+ if 'implicit-deps' in item['policy_info'].get('implicit-deps', {}):
11 prob.brokenbin = item['policy_info']['implicit-deps']['implicit-deps']['broken-binaries']
12
13 package_to_problems = defaultdict(list)

Subscribers

People subscribed via source and target branches