aboutsummaryrefslogtreecommitdiffstats
path: root/FuseArchive/Storage
diff options
context:
space:
mode:
Diffstat (limited to 'FuseArchive/Storage')
-rw-r--r--FuseArchive/Storage/FileSystem.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/FuseArchive/Storage/FileSystem.py b/FuseArchive/Storage/FileSystem.py
index 4310481..547e567 100644
--- a/FuseArchive/Storage/FileSystem.py
+++ b/FuseArchive/Storage/FileSystem.py
@@ -1,5 +1,6 @@
import FuseArchive, logging, os, sha
from binascii import hexlify
+from FuseArchive.Chunk import Chunk
magic_depth = 5
@@ -51,7 +52,7 @@ def save_chunk( chunk ):
verify_contents = verify.read()
verify.close()
- verify_contents = FuseArchiveChunk.deserialize( verify_contents )
+ verify_contents = Chunk.deserialize( verify_contents )
if verify_contents.chunk == chunk:
logging.debug( "Found existing block" )
break