The current format doesn't support a USN in which
2 different packages get an update for the same release,
one going to ESM and the other to the archive. Whether
it is an ESM update or not is set at the release level.
As discussed in the email thread
'USNs - Same release, different components', the
decision made is to the follow the web format, but without
the ESM parts in the release. This part was discussed
in the sprint: the web team should move away from them.
As so, this commit:
* Adds 'Available with Ubuntu Pro' per binary.
* Removes the 'Available with Ubuntu Pro' from the release.
Signed-off-by: David Fernandez Gonzalez <email address hidden>
usn.py: use file context manager to autoclose file
When running the testsuite under python-unittest (e.g. `./test.py -v`)
unittest was reporting that a file descriptor was failing to be closed.
Convert to using a file context manager so that the descriptor is
closed automatically.