~laney/ubuntu-archive-scripts/generate-team-p-m-binary

Viewing all changes in revision 271.

  • Committer: Iain Lane
  • Date: 2020-04-07 09:39:31 UTC
  • Revision ID: iain.lane@canonical.com-20200407093931-8xiiv77flibpwkwx
generate-team-p-m: Handle a missing policy_info

Migration items for binaries only "foo/arch" don't have policies run for them
but we currently assume they do, and crash when we can't find the "policy_info"
dict entry.

Handle it being missing. Return "-1" for the age and treat that as being
unknown: it's not output for these entries.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: