Commit 0e47ad76 authored by Maxime Perrotin's avatar Maxime Perrotin

Add support for new VM's MSC Editor

parent 56520265
......@@ -34,6 +34,7 @@ LICENSE: LGPL - see LICENSE file
CHANGELOG:
1.5.6 - Add support for taste-msc-editor
1.5.5 - Bugfix for random simulation
1.5.4 - Bugfix - needed for MSC editor
1.5.3 - Minor accomodation for the MSC editor
......
......@@ -16,7 +16,7 @@
__author__ = "Maxime Perrotin"
__license__ = "LGPLv3"
__version__ = "1.5.5"
__version__ = "1.5.6"
__url__ = "http://taste.tuxfamily.org"
import sys
......
......@@ -341,8 +341,15 @@ endmscdocument;
return
else:
selected_msc = selection[0].text()
commandline = ["msce.py", "--open", selected_msc]
if 0 != subprocess.call(commandline):
ret = 1
try:
commandline = ["msce.py", "--open", selected_msc]
ret = subprocess.call(commandline)
except:
commandline = ["taste-msc-editor", "--open", selected_msc]
ret = subprocess.call(commandline)
if 0 != ret:
self.log.error('MSC Editor returned an error')
def monitor_scenario(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment