~xnox/ubuntu-archive-scripts/auto-accept-i386-only-packages

Viewing all changes in revision 271.

  • Committer: Sebastien Bacher
  • Author(s): Iain Lane
  • Date: 2020-04-07 10:03:02 UTC
  • mfrom: (270.1.1 ubuntu-archive-scripts)
  • Revision ID: seb128@ubuntu.com-20200407100302-lu5theinxgog30c6
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: