Show More
@@ -292,8 +292,7 def _fm1readmarkers(data, off=0): | |||
|
292 | 292 | while off <= stop: |
|
293 | 293 | # read fixed part |
|
294 | 294 | o1 = off + _fm1fsize |
|
295 | fixeddata = ufixed(data[off:o1]) | |
|
296 | ttsize, seconds, tz, flags, numsuc, numpar, nummeta, prec = fixeddata | |
|
295 | t, secs, tz, flags, numsuc, numpar, nummeta, prec = ufixed(data[off:o1]) | |
|
297 | 296 | |
|
298 | 297 | _fm1node = _fm1nodesha1 |
|
299 | 298 | fnodesize = _fm1nodesha1size |
@@ -324,7 +323,7 def _fm1readmarkers(data, off=0): | |||
|
324 | 323 | metadata.append((data[off:o1], data[o1:o2])) |
|
325 | 324 | off = o2 |
|
326 | 325 | |
|
327 |
yield (prec, sucs, flags, tuple(metadata), (sec |
|
|
326 | yield (prec, sucs, flags, tuple(metadata), (secs, tz * 60), parents) | |
|
328 | 327 | |
|
329 | 328 | def _fm1encodeonemarker(marker): |
|
330 | 329 | pre, sucs, flags, metadata, date, parents = marker |
General Comments 0
You need to be logged in to leave comments.
Login now