aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()