Commit ac611add authored by Rafael Monnerat's avatar Rafael Monnerat

slapos/collect: Raise NotImplementedError instead

parent c935fb91
...@@ -50,10 +50,10 @@ class Dumper(object): ...@@ -50,10 +50,10 @@ class Dumper(object):
self.db = database self.db = database
def dump(self, folder): def dump(self, folder):
raise NotImplemented("Implemented on Subclass") raise NotImplementedError("Implemented on Subclass")
def writeFile(self, **kw): def writeFile(self, **kw):
raise NotImplemented("Implemented on Subclass") raise NotImplementedError("Implemented on Subclass")
def withDB(function, commit=1): def withDB(function, commit=1):
def wrap_db_open_close(self, *args, **kwargs): def wrap_db_open_close(self, *args, **kwargs):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment