From 89ef51df1680c7c4a7f8a155d87a21b448d91555 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Thu, 23 Jul 2009 09:14:34 -0700 Subject: Fix block compare to use decompress the storage so we don't make a huge number of dupe blocks 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() -- cgit v0.10.2