Mercurial > hg > cc > cirrus_work
changeset 367:4bae5b876418 plus
minor fixes to accommodate change in numbering
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Fri, 10 Apr 2026 16:00:51 +0100 |
| parents | 1ff1bbf30472 |
| children | 7071d450acde |
| files | lib/python/cc/build_idx.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/python/cc/build_idx.py Wed Apr 08 13:51:00 2026 +0100 +++ b/lib/python/cc/build_idx.py Fri Apr 10 16:00:51 2026 +0100 @@ -16,11 +16,11 @@ target="cdx-00%03d.gz"%i log.close() curpos=0 - log=open('merge_%d.log'%(i+1),'r') + log=open('merge_%03d.log'%i,'r') hdr=log.readline() (j,f) = hdr.split() sys.stderr.write(hdr) - if int(j)!=i+1: + if int(j)!=i: raise ValueError("wrong file: i=%s, j=%s"%(i,j)) nl=log.readline() if not nl:
