aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-08-04 05:09:13 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-08-04 05:09:13 (GMT)
commit2d3e545f3c7fc1c0e0ae2a78593199e4b76a04a6 (patch)
treed87c9ef502bc156a3011a3128ce3839a2895e96c
parent9b0b52e5242643e82eb74b64bce90f5e643b532a (diff)
downloadfusearchive-2d3e545f3c7fc1c0e0ae2a78593199e4b76a04a6.zip
fusearchive-2d3e545f3c7fc1c0e0ae2a78593199e4b76a04a6.tar.gz
fusearchive-2d3e545f3c7fc1c0e0ae2a78593199e4b76a04a6.tar.bz2
Namespace/module fixes
-rw-r--r--FuseArchive/Storage/ZipFile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/FuseArchive/Storage/ZipFile.py b/FuseArchive/Storage/ZipFile.py
index 755c2a4..83898ef 100644
--- a/FuseArchive/Storage/ZipFile.py
+++ b/FuseArchive/Storage/ZipFile.py
@@ -1,4 +1,4 @@
-import os, logging
+import os, logging, FuseArchive, zipfile, sha
from binascii import hexlify
def save_chunk( chunk ):
@@ -6,7 +6,7 @@ def save_chunk( chunk ):
return( [ 0, 0 ] )
logging.debug( "Begin save_chunk, length: %d" % len( chunk ) )
- if deep_debug:
+ if FuseArchive.deep_debug:
logging.debug( "Chunk: %s" + hexlify( chunk ) )
# Save this hash string, similar to the backuppc algo
@@ -88,7 +88,7 @@ def load_chunk( key ):
z.close()
raise IOError
- if deep_debug:
+ if FuseArchive.deep_debug:
logging.debug( "Load-Chunk: %s" + hexlify( chunk ) )
z.close()