diff options
Diffstat (limited to 'FuseArchive')
-rw-r--r-- | FuseArchive/Serializer.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FuseArchive/Serializer.py b/FuseArchive/Serializer.py index b2e1592..b23371c 100644 --- a/FuseArchive/Serializer.py +++ b/FuseArchive/Serializer.py @@ -1,10 +1,12 @@ -import gzip, FuseArchive +import gzip, FuseArchive, logging, cPickle + +gzip_compress_level = 6 class Serializer: """This lets us experiment with different main file serializers""" @staticmethod def dump( f, obj ): - out = FuseArchiveStream.open( f, "wb" ) + out = open( f, "wb" ) Serializer.dumpfh( obj, out ) # new file format out.close() |