Show More
@@ -53,7 +53,7 b' class tarit:' | |||||
53 | self.fileobj.write('\037\213') # magic header |
|
53 | self.fileobj.write('\037\213') # magic header | |
54 | self.fileobj.write('\010') # compression method |
|
54 | self.fileobj.write('\010') # compression method | |
55 | # Python 2.6 deprecates self.filename |
|
55 | # Python 2.6 deprecates self.filename | |
56 |
fname = getattr(self, 'name', None) or self.filename |
|
56 | fname = getattr(self, 'name', None) or self.filename | |
57 | flags = 0 |
|
57 | flags = 0 | |
58 | if fname: |
|
58 | if fname: | |
59 | flags = gzip.FNAME |
|
59 | flags = gzip.FNAME |
General Comments 0
You need to be logged in to leave comments.
Login now