mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-19 23:08:09 +00:00
Fix version check for VPCS
This commit is contained in:
parent
a24490930f
commit
1ed88eda85
@ -222,8 +222,8 @@ class VPCSVM(BaseNode):
|
|||||||
if match:
|
if match:
|
||||||
version = match.group(1)
|
version = match.group(1)
|
||||||
self._vpcs_version = parse_version(version)
|
self._vpcs_version = parse_version(version)
|
||||||
if self._vpcs_version < parse_version("0.8b") and self._vpcs_version != parse_version("0.6.1"):
|
if self._vpcs_version < parse_version("0.6.1"):
|
||||||
raise VPCSError("VPCS executable version must be >= 0.8b or 0.6.1")
|
raise VPCSError("VPCS executable version must be >= 0.6.1 but not a 0.8")
|
||||||
else:
|
else:
|
||||||
raise VPCSError("Could not determine the VPCS version for {}".format(self.vpcs_path))
|
raise VPCSError("Could not determine the VPCS version for {}".format(self.vpcs_path))
|
||||||
except (OSError, subprocess.SubprocessError) as e:
|
except (OSError, subprocess.SubprocessError) as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user