author | Thomas Arendsen Hein <thomas@intevation.de> |
Tue, 08 Apr 2008 18:40:11 +0200 | |
changeset 6498 | 315548fcc76b |
parent 6497 | a0068c673de7 |
child 6501 | 4f7feeb6d6ee |
--- a/mercurial/archival.py Tue Apr 08 18:39:41 2008 +0200 +++ b/mercurial/archival.py Tue Apr 08 18:40:11 2008 +0200 @@ -53,7 +53,7 @@ self.fileobj.write('\037\213') # magic header self.fileobj.write('\010') # compression method # Python 2.6 deprecates self.filename - fname = getattr(self, 'name', None) or self.filename + fname = getattr(self, 'name', None) or self.filename flags = 0 if fname: flags = gzip.FNAME