@@ -117,7 +117,9 @@ async def destroy(self):
117117 pass # TODO Should we remove an existing pool?
118118
119119 def init_volume (self , vm , volume_config ):
120- """Initialize a :py:class:`qubes.storage.Volume` from `volume_config`."""
120+ """
121+ Initialize a :py:class:`qubes.storage.Volume` from `volume_config`.
122+ """
121123
122124 if "revisions_to_keep" not in volume_config .keys ():
123125 volume_config ["revisions_to_keep" ] = self .revisions_to_keep
@@ -339,7 +341,9 @@ def _revision_sort_key(revision):
339341
340342
341343class ThinVolume (qubes .storage .Volume ):
342- """Default LVM thin volume implementation""" # pylint: disable=too-few-public-methods
344+ """Default LVM thin volume implementation"""
345+
346+ # pylint: disable=too-few-public-methods
343347
344348 def __init__ (self , volume_group , ** kwargs ):
345349 self .volume_group = volume_group
@@ -621,9 +625,8 @@ async def import_data(self, size):
621625 """Returns an object that can be `open()`."""
622626 if self .is_dirty ():
623627 raise qubes .storage .StoragePoolException (
624- "Cannot import data to dirty volume {}, stop the qube first" .format (
625- self .vid
626- )
628+ "Cannot import data to dirty volume {},"
629+ " stop the qube first" .format (self .vid )
627630 )
628631 self .abort_if_import_in_progress ()
629632 # pylint: disable=protected-access
0 commit comments