mercurial/archival.py
changeset 8527 f9a80054dd3c
parent 8312 b87a50b7125c
child 8778 c5f36402daad
equal deleted inserted replaced
8526:f78eadbb5769 8527:f9a80054dd3c
    42 
    42 
    43         def __init__(self, *args, **kw):
    43         def __init__(self, *args, **kw):
    44             timestamp = None
    44             timestamp = None
    45             if 'timestamp' in kw:
    45             if 'timestamp' in kw:
    46                 timestamp = kw.pop('timestamp')
    46                 timestamp = kw.pop('timestamp')
    47             if timestamp == None:
    47             if timestamp is None:
    48                 self.timestamp = time.time()
    48                 self.timestamp = time.time()
    49             else:
    49             else:
    50                 self.timestamp = timestamp
    50                 self.timestamp = timestamp
    51             gzip.GzipFile.__init__(self, *args, **kw)
    51             gzip.GzipFile.__init__(self, *args, **kw)
    52 
    52