From f6e9327675f3a92356ab4eda9e4d1f829113d312 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Thu, 23 Jul 2009 10:04:27 -0700 Subject: Changed around some debug levels 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 ); -- cgit v0.10.2