ci_check_duplicate_usb_vid_pid.py: update docstring; moved to sys.exit from raising RuntimeError

This commit is contained in:
sommersoft 2020-05-27 19:08:56 -05:00
parent 8e64b12408
commit c7b6d35fd4

View File

@ -71,8 +71,8 @@ def configboard_files():
def check_vid_pid(files, whitelist):
""" Compiles a list of USB VID & PID values for all boards, and checks
for duplicates. Raises a `RuntimeError` if duplicates are found, and
lists the duplicates.
for duplicates. Exits with ``sys.exit()`` (non-zero exit code)
if duplicates are found, and lists the duplicates.
"""
duplicates_found = False