mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Meta: Fix error in lint-ports.py
The data structures here were changed from sets to dicts at some point, with the sets now having different names - this would crash trying to subtract two dicts.
This commit is contained in:
parent
bfce328ade
commit
db06b106ae
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ def run():
|
||||||
if from_table_set - ports_set:
|
if from_table_set - ports_set:
|
||||||
all_good = False
|
all_good = False
|
||||||
print('AvailablePorts.md lists ports that do not appear in the file system:')
|
print('AvailablePorts.md lists ports that do not appear in the file system:')
|
||||||
for port in sorted(from_table - ports):
|
for port in sorted(from_table_set - ports_set):
|
||||||
print(f" {port}")
|
print(f" {port}")
|
||||||
|
|
||||||
if ports_set - from_table_set:
|
if ports_set - from_table_set:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue