equal
deleted
inserted
replaced
189 # if TZ is not configured as GMT |
189 # if TZ is not configured as GMT |
190 i.extra += struct.pack('<hhBl', |
190 i.extra += struct.pack('<hhBl', |
191 0x5455, # block type: "extended-timestamp" |
191 0x5455, # block type: "extended-timestamp" |
192 1 + 4, # size of this block |
192 1 + 4, # size of this block |
193 1, # "modification time is present" |
193 1, # "modification time is present" |
194 self.mtime) # time of last modification (UTC) |
194 int(self.mtime)) # last modification (UTC) |
195 self.z.writestr(i, data) |
195 self.z.writestr(i, data) |
196 |
196 |
197 def done(self): |
197 def done(self): |
198 self.z.close() |
198 self.z.close() |
199 |
199 |