From bed9ca0d90eea05d81461ab325929e7512eff595 Mon Sep 17 00:00:00 2001 From: Angelos Evripiotis Date: Fri, 5 Jul 2019 16:29:06 +0100 Subject: _casbaseddirectory: fix '_mark_changed' spelling Override the base-class method '_mark_changed', instead of declaring a new unused method that only raises NotImplementedError. --- src/buildstream/storage/_casbaseddirectory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildstream/storage/_casbaseddirectory.py b/src/buildstream/storage/_casbaseddirectory.py index 0d43e3bc5..b88a8a0df 100644 --- a/src/buildstream/storage/_casbaseddirectory.py +++ b/src/buildstream/storage/_casbaseddirectory.py @@ -410,7 +410,7 @@ class CasBasedDirectory(Directory): def export_to_tar(self, tarfile, destination_dir, mtime=BST_ARBITRARY_TIMESTAMP): raise NotImplementedError() - def mark_changed(self): + def _mark_changed(self): """ It should not be possible to externally modify a CAS-based directory at the moment.""" raise NotImplementedError() -- cgit v1.2.1