Show More
@@ -293,9 +293,6 b' def _fm1readmarkers(data, off=0):' | |||
|
293 | 293 | fixeddata = _unpack(_fm1fixed, data[off:off + _fm1fsize]) |
|
294 | 294 | off += _fm1fsize |
|
295 | 295 | ttsize, seconds, tz, flags, numsuc, numpar, nummeta, prec = fixeddata |
|
296 | # extract the number of parents information | |
|
297 | if numpar == _fm1parentnone: | |
|
298 | numpar = None | |
|
299 | 296 | # build the date tuple (upgrade tz minutes to seconds) |
|
300 | 297 | date = (seconds, tz * 60) |
|
301 | 298 | _fm1node = _fm1nodesha1 |
@@ -310,7 +307,7 b' def _fm1readmarkers(data, off=0):' | |||
|
310 | 307 | sucs = _unpack(_fm1node * numsuc, data[off:off + s]) |
|
311 | 308 | off += s |
|
312 | 309 | # read parents |
|
313 |
if numpar |
|
|
310 | if numpar == _fm1parentnone: | |
|
314 | 311 | parents = None |
|
315 | 312 | elif numpar == 0: |
|
316 | 313 | parents = () |
General Comments 0
You need to be logged in to leave comments.
Login now