aboutsummaryrefslogtreecommitdiffstats
path: root/FuseArchive
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-08-04 05:03:06 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-08-04 05:03:06 (GMT)
commitb2e8b961325b9813656aef54880f09f3bce9becf (patch)
treec24b7cd4e8fc94d6771ee2592966a1a604c70dc2 /FuseArchive
parentd0ac09242f5c4ffbd8638c413fd2d84c66d056ac (diff)
downloadfusearchive-b2e8b961325b9813656aef54880f09f3bce9becf.zip
fusearchive-b2e8b961325b9813656aef54880f09f3bce9becf.tar.gz
fusearchive-b2e8b961325b9813656aef54880f09f3bce9becf.tar.bz2
Fix namespace problem
Diffstat (limited to 'FuseArchive')
-rw-r--r--FuseArchive/ChunkFile.py2
-rw-r--r--FuseArchive/Storage/FileSystem.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/FuseArchive/ChunkFile.py b/FuseArchive/ChunkFile.py
index 457fe37..3b04ba8 100644
--- a/FuseArchive/ChunkFile.py
+++ b/FuseArchive/ChunkFile.py
@@ -245,7 +245,7 @@ class ChunkFile(object):
return data
def write(self, buf, offset):
- if magic_profiling:
+ if FuseArchive.magic_profiling:
return len( buf )
logging.debug( "Writing to %s offset: %d (0x%x) length: %d (0x%x)" %
diff --git a/FuseArchive/Storage/FileSystem.py b/FuseArchive/Storage/FileSystem.py
index 8488964..bdb6176 100644
--- a/FuseArchive/Storage/FileSystem.py
+++ b/FuseArchive/Storage/FileSystem.py
@@ -1,7 +1,7 @@
# This will write out a data block, it will return a key that can get this
# data back later
def save_chunk( chunk ):
- if magic_profiling:
+ if FuseArchive.magic_profiling:
return( [ 0, 0 ] )
logging.debug( "Begin save_chunk, length: %d" % len( chunk ) )
@@ -66,7 +66,7 @@ def save_chunk( chunk ):
# This will return a data block by key that was saved previously
def load_chunk( key ):
- if magic_profiling:
+ if FuseArchive.magic_profiling:
return ''
( thash, seq ) = key