candlepin/subscription-manager — pull request #172 by alikins (2012-08-01 20:06:08+00:00)
Title: 838113: 'unregister' was not cleaning up repos

After unregistering, we were running IdentityCertLib update
actions, which assumed consumer cert existed, and were
raising exceptions. certmgt.update was not handling
exceptions there well, and raised them up into
the UnRegister.do_command, where it was ignored.
This prevented the rest of the update methods from
running, which included repolib, so repo's were
not being cleaned up.

Try to handle exceptions in the update actions
better (and log them). Also make IdentityCertLib.update
not fail on unregistered systems.