Skip to content

Commit c7b6d35

Browse files
committed
ci_check_duplicate_usb_vid_pid.py: update docstring; moved to sys.exit from raising RuntimeError
1 parent 8e64b12 commit c7b6d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci_check_duplicate_usb_vid_pid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def configboard_files():
7171

7272
def check_vid_pid(files, whitelist):
7373
""" Compiles a list of USB VID & PID values for all boards, and checks
74-
for duplicates. Raises a `RuntimeError` if duplicates are found, and
75-
lists the duplicates.
74+
for duplicates. Exits with ``sys.exit()`` (non-zero exit code)
75+
if duplicates are found, and lists the duplicates.
7676
"""
7777

7878
duplicates_found = False

0 commit comments

Comments
 (0)