Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
0e47ad76
Commit
0e47ad76
authored
May 08, 2017
by
Maxime Perrotin
Browse files
Add support for new VM's MSC Editor
parent
56520265
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0e47ad76
...
...
@@ -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
...
...
asn1_value_editor/asn1_value_editor.py
View file @
0e47ad76
...
...
@@ -16,7 +16,7 @@
__author__
=
"Maxime Perrotin"
__license__
=
"LGPLv3"
__version__
=
"1.5.
5
"
__version__
=
"1.5.
6
"
__url__
=
"http://taste.tuxfamily.org"
import
sys
...
...
asn1_value_editor/mscHandler.py
View file @
0e47ad76
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment