[blivet:master 0/4] Catching Exception patches
mulhern
amulhern at redhat.com
Thu Apr 17 20:18:48 UTC 2014
The first contains a function for more thoroughly logging exceptions.
It may seem strange that I pass string format args as a list, but it was
not obvious that there was a better way to arrange the arguments.
The remaining three patches all suppress warnings but use the logging function
to log the exception information more completely. The exception logging
function can be extended to, e.g., log more complete information or raise
selected exceptions as appropriate.
mulhern (4):
Add a function that logs available exception info.
Disable some W0703 warnings.
Disable some W0703 warnings
Log exception information and disable W0703 warning.
blivet/__init__.py | 58 +++++++++++++++++++++++++++------------------
blivet/arch.py | 7 ++++--
blivet/deviceaction.py | 8 ++++++-
blivet/devicetree.py | 12 ++++++----
blivet/formats/disklabel.py | 17 ++++++++++++-
blivet/formats/fs.py | 15 ++++++++----
blivet/iscsi.py | 8 +++++--
blivet/storage_log.py | 28 ++++++++++++++++++++++
8 files changed, 115 insertions(+), 38 deletions(-)
--
1.8.3.1
More information about the anaconda-patches
mailing list