aboutsummaryrefslogtreecommitdiffstats
path: root/fusearchive.py
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-07-23 16:14:34 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-07-23 16:14:34 (GMT)
commit89ef51df1680c7c4a7f8a155d87a21b448d91555 (patch)
tree09f8af698fd7b42a04a5092d3013a21652e23f2c /fusearchive.py
parente54a60a8e152d526e4f9ed7cfb3a8d400be70fe8 (diff)
downloadfusearchive-89ef51df1680c7c4a7f8a155d87a21b448d91555.zip
fusearchive-89ef51df1680c7c4a7f8a155d87a21b448d91555.tar.gz
fusearchive-89ef51df1680c7c4a7f8a155d87a21b448d91555.tar.bz2
Fix block compare to use decompress the storage so we don't make a huge
number of dupe blocks
Diffstat (limited to 'fusearchive.py')
-rwxr-xr-xfusearchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fusearchive.py b/fusearchive.py
index 804991d..6f6305f 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -135,7 +135,7 @@ def deflate( src, dest ):
print "Checking: " + checkpath
if os.path.exists( checkpath ):
# Check if this is our data
- verify = open( checkpath, "r" )
+ verify = gzip.open( checkpath, "r" )
verify_contents = verify.read()
verify.close()