[blivet:master 0/7] Fairly straightforward pylint inspired fixes

mulhern amulhern at redhat.com
Thu Mar 27 14:38:56 UTC 2014


A bunch of fairly simple pylint inspired fixes and one tiny bug fix.

It is possible that some of the unused variables shouldn't be unused, but
they really do seem to be.

David Shea (3):
  Rearranged some iffy exception checking
  Get rid of old exception unpacking syntax
  Be specific when catching exceptions

mulhern (4):
  Use the disk's name in log message
  Don't get return values from communicate() if they are ignored
  Remove a lot of unused variables extracted from udev info
  Remove appendiceal assignments

 blivet/__init__.py                  |  3 +--
 blivet/devicefactory.py             |  8 ++------
 blivet/devices.py                   |  2 +-
 blivet/devicetree.py                | 22 ++--------------------
 blivet/partitioning.py              |  8 ++------
 tests/devicelibs_test/baseclass.py  |  6 +++---
 tests/devicelibs_test/btrfs_test.py |  2 +-
 tests/size_test.py                  |  1 -
 8 files changed, 12 insertions(+), 40 deletions(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list