From 9c9d71c069dd00fe668fd33173e211b592d3a00d Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Tue, 28 Jan 2020 13:40:09 +0000 Subject: [PATCH] storage/reflink: omit redundant comment The is_dirty() one-liner is defined right above. --- qubes/storage/reflink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/storage/reflink.py b/qubes/storage/reflink.py index 52783d60..05cbba2b 100644 --- a/qubes/storage/reflink.py +++ b/qubes/storage/reflink.py @@ -206,7 +206,7 @@ class ReflinkVolume(qubes.storage.Volume): @_locked def start(self): self._remove_incomplete_files() - if self.is_dirty(): # implies self.save_on_stop + if self.is_dirty(): return self if self.snap_on_start: # pylint: disable=protected-access