Skip to content

Commit

Permalink
Handle dupe number in test renumberer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Nov 12, 2023
1 parent 8f89ce8 commit 4225500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/dircondenser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4225500

Please sign in to comment.