From 266d90c2f954d44d3a84473be8b3656a0b226d2f Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Tue, 11 Sep 2018 23:50:18 +0000 Subject: [PATCH] storage: fix docstrings --- qubes/storage/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qubes/storage/__init__.py b/qubes/storage/__init__.py index f506c12b..fe5e98bb 100644 --- a/qubes/storage/__init__.py +++ b/qubes/storage/__init__.py @@ -252,6 +252,8 @@ class Volume: def revert(self, revision=None): ''' Revert volume to previous revision + This can be implemented as a coroutine. + :param revision: revision to revert volume to, see :py:attr:`revisions` ''' # pylint: disable=unused-argument @@ -616,7 +618,7 @@ class Storage: @asyncio.coroutine def start(self): - ''' Execute the start method on each pool ''' + ''' Execute the start method on each volume ''' futures = [] for volume in self.vm.volumes.values(): ret = volume.start() @@ -631,7 +633,7 @@ class Storage: @asyncio.coroutine def stop(self): - ''' Execute the start method on each pool ''' + ''' Execute the stop method on each volume ''' futures = [] for volume in self.vm.volumes.values(): ret = volume.stop()