Skip to content

Commit 42dc1f7

Browse files
committed
action='append' could be a bit smarter about this
1 parent 9037a8f commit 42dc1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/libregrtest/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def _parse_args(args, **kwargs):
569569

570570
ns.prioritize = [
571571
test
572-
for priority_list in ns.prioritize
572+
for priority_list in (ns.prioritize or ())
573573
for test in priority_list
574574
]
575575

0 commit comments

Comments
 (0)