Browse Source

storage/file: add is_outdated() that always returns False

Fixes QubesOS/qubes-issues#6398
Rusty Bird 3 years ago
parent
commit
c7d74f2a63
1 changed files with 3 additions and 0 deletions
  1. 3 0
      qubes/storage/file.py

+ 3 - 0
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: