From 9f9d9e87b5bb65d6d6a72807401b66183e151d66 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 8 Sep 2011 17:51:19 -0400 Subject: [PATCH] Merging is still unimplemented, so raise an exception on Storage.clear(). --- h5config/storage/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/h5config/storage/__init__.py b/h5config/storage/__init__.py index 428e98e..a62c473 100644 --- a/h5config/storage/__init__.py +++ b/h5config/storage/__init__.py @@ -36,6 +36,9 @@ class Storage (object): def _save(self, config, **kwargs): raise NotImplementedError() + def clear(self): + raise NotImplementedError() + class FileStorage (Storage): "`Config` storage backend by a single file" -- 2.26.2