Merging is still unimplemented, so raise an exception on Storage.clear().
authorW. Trevor King <wking@drexel.edu>
Thu, 8 Sep 2011 21:51:19 +0000 (17:51 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 8 Sep 2011 21:51:19 +0000 (17:51 -0400)
h5config/storage/__init__.py

index 428e98ebb886b4b6358368880d36595ee1541463..a62c4734ea46ff53415e381fc34b60f635c43f34 100644 (file)
@@ -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"