summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2020-05-27 19:08:56 -0500
committersommersoft <sommersoft@gmail.com>2020-05-27 19:08:56 -0500
commitc7b6d35fd43ca192c3e7e95bf0a0f2ea0b0fc4a5 (patch)
treed88cfd41fa19b5023fbeb4043f0b87988ffe05a5 /tools
parent8e64b1240857340cd86d49a716ae5f542ab35e04 (diff)
ci_check_duplicate_usb_vid_pid.py: update docstring; moved to sys.exit from raising RuntimeError
Diffstat (limited to 'tools')
-rw-r--r--tools/ci_check_duplicate_usb_vid_pid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci_check_duplicate_usb_vid_pid.py b/tools/ci_check_duplicate_usb_vid_pid.py
index 2890070db..505704f12 100644
--- a/tools/ci_check_duplicate_usb_vid_pid.py
+++ b/tools/ci_check_duplicate_usb_vid_pid.py
@@ -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