~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to generate-team-p-m

  • Committer: Sebastien Bacher
  • Date: 2020-09-17 19:50:01 UTC
  • Revision ID: seb128@ubuntu.com-20200917195001-o938elehshcn983j
simply the code a bit as suggested in the review

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
                prob.unsatbuilddep = ['{}: {}'.format(p, ', '.join(sorted(arches))) for p, arches in sorted(unsatdbd.items())]
305
305
        if 'implicit-deps' in item['policy_info']['implicit-deps']:
306
306
                if item['policy_info']['implicit-deps']['implicit-deps']['broken-binaries']:
307
 
                        brokenbin = []
308
 
                        for bin in item['policy_info']['implicit-deps']['implicit-deps']['broken-binaries']:
309
 
                                brokenbin.append(bin)
310
 
                                prob.brokenbin = brokenbin
 
307
                        prob.brokenbin = item['policy_info']['implicit-deps']['implicit-deps']['broken-binaries']
311
308
 
312
309
    package_to_problems = defaultdict(list)
313
310