Show More
@@ -162,9 +162,11 b' class tarit(object):' | |||
|
162 | 162 | zlib.Z_BEST_COMPRESSION, |
|
163 | 163 | fileobj, timestamp=mtime) |
|
164 | 164 | self.fileobj = gzfileobj |
|
165 |
return tarfile.TarFile.taropen( |
|
|
165 | return tarfile.TarFile.taropen( | |
|
166 | name, pycompat.sysstr(mode), gzfileobj) | |
|
166 | 167 | else: |
|
167 |
return tarfile.open( |
|
|
168 | return tarfile.open( | |
|
169 | name, pycompat.sysstr(mode + kind), fileobj) | |
|
168 | 170 | |
|
169 | 171 | if isinstance(dest, str): |
|
170 | 172 | self.z = taropen('w:', name=dest) |
General Comments 0
You need to be logged in to leave comments.
Login now