Show More
@@ -158,7 +158,8 b' class tarit(object):' | |||||
158 | mode = mode[0:1] |
|
158 | mode = mode[0:1] | |
159 | if not fileobj: |
|
159 | if not fileobj: | |
160 | fileobj = open(name, mode + 'b') |
|
160 | fileobj = open(name, mode + 'b') | |
161 |
gzfileobj = self.GzipFileWithTime(name, |
|
161 | gzfileobj = self.GzipFileWithTime(name, | |
|
162 | pycompat.sysstr(mode + 'b'), | |||
162 | zlib.Z_BEST_COMPRESSION, |
|
163 | zlib.Z_BEST_COMPRESSION, | |
163 | fileobj, timestamp=mtime) |
|
164 | fileobj, timestamp=mtime) | |
164 | self.fileobj = gzfileobj |
|
165 | self.fileobj = gzfileobj |
General Comments 0
You need to be logged in to leave comments.
Login now