fix to account for emane 1.2.1, until later cleanup
This commit is contained in:
parent
5403b10cef
commit
4987019cf8
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ EMANE091 = 91
|
||||||
EMANE092 = 92
|
EMANE092 = 92
|
||||||
EMANE093 = 93
|
EMANE093 = 93
|
||||||
EMANE101 = 101
|
EMANE101 = 101
|
||||||
|
EMANE121 = 121
|
||||||
|
|
||||||
VERSION = None
|
VERSION = None
|
||||||
VERSIONSTR = None
|
VERSIONSTR = None
|
||||||
|
@ -38,6 +39,8 @@ def emane_version():
|
||||||
VERSION = EMANE093
|
VERSION = EMANE093
|
||||||
elif output.startswith("1.0.1"):
|
elif output.startswith("1.0.1"):
|
||||||
VERSION = EMANE101
|
VERSION = EMANE101
|
||||||
|
elif output.startswith("1.2.1"):
|
||||||
|
VERSION = EMANE121
|
||||||
except CoreCommandError:
|
except CoreCommandError:
|
||||||
logger.exception("error checking emane version")
|
logger.exception("error checking emane version")
|
||||||
output = ""
|
output = ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue