##// END OF EJS Templates
obsstore: drop 'date' from the metadata dictionary...
Pierre-Yves David -
r22257:4bc96685 default
parent child Browse files
Show More
@@ -168,10 +168,12 b' def _readmarkers(data):'
168 'short, %d bytes expected, got %d')
168 'short, %d bytes expected, got %d')
169 % (mdsize, len(metadata)))
169 % (mdsize, len(metadata)))
170 off += mdsize
170 off += mdsize
171 meta = decodemeta(metadata)
171 try:
172 try:
172 date = util.parsedate(decodemeta(metadata).pop('date', '0 0'))
173 date = util.parsedate(decodemeta(metadata).pop('date', '0 0'))
173 except util.Abort:
174 except util.Abort:
174 date = (0., 0)
175 date = (0., 0)
176 metadata = encodemeta(meta)
175
177
176 yield (pre, sucs, flags, metadata, date, None)
178 yield (pre, sucs, flags, metadata, date, None)
177
179
General Comments 0
You need to be logged in to leave comments. Login now