From c7d74f2a636bbf79926ef9461f8266f7c290ea22 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Mon, 15 Feb 2021 14:10:46 +0000 Subject: [PATCH] storage/file: add is_outdated() that always returns False Fixes QubesOS/qubes-issues#6398 --- qubes/storage/file.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qubes/storage/file.py b/qubes/storage/file.py index 176b0a26..32b35ace 100644 --- a/qubes/storage/file.py +++ b/qubes/storage/file.py @@ -219,6 +219,9 @@ class FileVolume(qubes.storage.Volume): if self.snap_on_start or self.save_on_stop: _remove_if_exists(self.path_cow) + def is_outdated(self): + return False # avoid spamming the log with NotImplementedError + def is_dirty(self): if self.save_on_stop: with suppress(FileNotFoundError), open(self.path_cow, 'rb') as cow: