projects
/
h5config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78def18
)
Merging is still unimplemented, so raise an exception on Storage.clear().
author
W. Trevor King
<wking@drexel.edu>
Thu, 8 Sep 2011 21:51:19 +0000
(17:51 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 8 Sep 2011 21:51:19 +0000
(17:51 -0400)
h5config/storage/__init__.py
patch
|
blob
|
history
diff --git
a/h5config/storage/__init__.py
b/h5config/storage/__init__.py
index 428e98ebb886b4b6358368880d36595ee1541463..a62c4734ea46ff53415e381fc34b60f635c43f34 100644
(file)
--- 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"