aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-07-23 17:04:27 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-07-23 17:04:27 (GMT)
commitf6e9327675f3a92356ab4eda9e4d1f829113d312 (patch)
tree62fe09349b8603471d8e09562b4cc8f30b5e9b9b
parent2caa18533d925ea687c255ea20c1d96ad8304929 (diff)
downloadfusearchive-f6e9327675f3a92356ab4eda9e4d1f829113d312.zip
fusearchive-f6e9327675f3a92356ab4eda9e4d1f829113d312.tar.gz
fusearchive-f6e9327675f3a92356ab4eda9e4d1f829113d312.tar.bz2
Changed around some debug levels
-rwxr-xr-xfusearchive.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/fusearchive.py b/fusearchive.py
index e77fd46..98e5169 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -146,20 +146,20 @@ def deflate( src, dest ):
verify.close()
if verify_contents == chunk:
- dmsg( 2, "Found existing block" )
+ dmsg( 3, "Found existing block" )
break
else:
- dmsg( 2, "Block exists but is not the same" )
+ dmsg( 3, "Block exists but is not the same" )
sub += 1
else:
# We found a spot, dump our data here
- dmsg( 2, "No block here, creating new block" )
+ dmsg( 3, "No block here, creating new block" )
savechunk = gzip.open( checkpath, "w" )
savechunk.write( chunk )
savechunk.close
break
- dmsg( 2, "Got chunk slot: " + str( sub ) )
+ dmsg( 3, "Got chunk slot: " + str( sub ) )
hashs.append( [ digest, sub ] )
inp.close()
@@ -318,7 +318,7 @@ class FuseArchive(Fuse):
def __init__(self, path, flags, *mode):
# Inflate the file
- dmsg( 2, "Init file: " + path )
+ dmsg( 1, "Init file: " + path )
self.orig_path = path;
( fdnum, self.tmp_name ) = tempfile.mkstemp();
#os.close( fdnum );