diff --git a/commands/command_utils.py b/commands/command_utils.py index 338978dd64..4f6f99eb09 100644 --- a/commands/command_utils.py +++ b/commands/command_utils.py @@ -26,7 +26,7 @@ def check_version(version): """ if not re.match(VERSION_REGEX, version): raise CommandError('Unexpected format of target version: {}'.format(version)) - return version.split('.')[0] + return version.split('.') def get_major_version(version):