Show More
@@ -135,7 +135,9 b' class tarit(object):' | |||||
135 | '''write archive to tar file or stream. can write uncompressed, |
|
135 | '''write archive to tar file or stream. can write uncompressed, | |
136 | or compress with gzip or bzip2.''' |
|
136 | or compress with gzip or bzip2.''' | |
137 |
|
137 | |||
138 | if True: |
|
138 | if pycompat.ispy3: | |
|
139 | GzipFileWithTime = gzip.GzipFile # camelcase-required | |||
|
140 | else: | |||
139 |
|
141 | |||
140 | class GzipFileWithTime(gzip.GzipFile): |
|
142 | class GzipFileWithTime(gzip.GzipFile): | |
141 | def __init__(self, *args, **kw): |
|
143 | def __init__(self, *args, **kw): |
General Comments 0
You need to be logged in to leave comments.
Login now