diff --git a/wa/utils/types.py b/wa/utils/types.py index a852ad09..668e5c7c 100644 --- a/wa/utils/types.py +++ b/wa/utils/types.py @@ -211,9 +211,9 @@ def regex(value): def version_tuple(v): """ - Converts a version string into a tuple of ints that can be used for natural comparison. + Converts a version string into a tuple of strings that can be used for natural comparison. """ - return tuple(map(int, (v.split(".")))) + return tuple(map(str, (v.split(".")))) __counters = defaultdict(int)