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