ci_check_duplicate_usb_vid_pid.py: update docstring; moved to sys.exit from raising RuntimeError
This commit is contained in:
parent
8e64b12408
commit
c7b6d35fd4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue