Skip to content

Commit 5c8fb15

Browse files
committed
Fixed length comparison bug
1 parent dfcdc8c commit 5c8fb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def get_all_min_versions(MIN_PYTHON):
479479
elif args.mode == "max":
480480
get_all_max_versions()
481481
elif args.mode == "range":
482-
if len(args.python_version) <= 2:
482+
if len(args.python_version) != 2:
483483
raise IndexError("Please provide both a start and stop version")
484484
start = args.python_version[0]
485485
stop = args.python_version[1]

0 commit comments

Comments
 (0)