summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/restore_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-24 23:33:05 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-28 21:51:25 +0000
commitbae70f9b6085630f278555d20beb52d387bca651 (patch)
tree3fbb263cb763fc25593f2969bc75398e257e38a0 /obnamlib/plugins/restore_plugin.py
parentdcce3ed1a9c8f6fa35e36842d80d6cbd85382483 (diff)
downloadobnam-bae70f9b6085630f278555d20beb52d387bca651.tar.gz
Add RepositoryInterface.validate_chunk_content method
Diffstat (limited to 'obnamlib/plugins/restore_plugin.py')
-rw-r--r--obnamlib/plugins/restore_plugin.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/obnamlib/plugins/restore_plugin.py b/obnamlib/plugins/restore_plugin.py
index bc8b42d3..bdbcfed5 100644
--- a/obnamlib/plugins/restore_plugin.py
+++ b/obnamlib/plugins/restore_plugin.py
@@ -302,10 +302,7 @@ class RestorePlugin(obnamlib.ObnamPlugin):
f.write('\0')
def verify_chunk_checksum(self, data, chunkid):
- # FIXME: The RepositoryInterface does not currently have
- # a way to do this, so at this time this is a no-op, to be
- # fixed later.
- pass
+ self.repo.validate_chunk_content(chunkid)
def restore_fifo(self, gen, filename, metadata):
logging.debug('restoring fifo %s' % filename)