Handle dupe number in test renumberer.

pull/12505/head
Jussi Pakkanen 1 year ago
parent 8f89ce8a70
commit 422550036e
  1. 2
      tools/dircondenser.py

@ -49,6 +49,8 @@ def get_entries() -> T.List[T.Tuple[int, str]]:
numstr = int(number)
except ValueError:
raise SystemExit(f'Dir name {e} does not start with a number.')
if 'includedirxyz' in e:
continue
entries.append((numstr, rest))
entries.sort()
return entries

Loading…
Cancel
Save