Correct comment on resizable property

The value of resizable is affected by the state of the device as well as its
type.

Signed-off-by: mulhern <amulhern@redhat.com>
Add an attribute docstring for _resizable.

Suppress pylint false positive.

Signed-off-by: mulhern <amulhern@redhat.com>
Remove definition of LVMThinLogicalVolumeDevice._resizable

It inherits a value of True from its parent, LVMLogicalVolumeDevice.

Signed-off-by: mulhern <amulhern@redhat.com>
Rewrite resize() method to depend on _resizable.

All class for which _resizable is True should define a resize method.

Prompted by a lot of pylint 'abstract-method' warnings.

Signed-off-by: mulhern <amulhern@redhat.com>
Compress loop into generator list comprehension

There should be no semantic change.

Signed-off-by: mulhern <amulhern@redhat.com>
Get rid of a redefined builtin while simplifying method.

Signed-off-by: mulhern <amulhern@redhat.com>
Do not run pylint on sphinx generated conf.py

And do not screen out old_tests since blivet does not have such a directory.

Signed-off-by: mulhern <amulhern@redhat.com>
Set device.format in else block of try/except/else.

Signed-off-by: mulhern <amulhern@redhat.com>
Rename to avoid redefining built-ins where the redefinition is method local.

Signed-off-by: mulhern <amulhern@redhat.com>