Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asn1-value-editor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
asn1-value-editor
Commits
7a9a3488
Commit
7a9a3488
authored
Jul 31, 2019
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an attribute check
parent
bffd2567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
asn1_value_editor/Scenario.py
asn1_value_editor/Scenario.py
+7
-3
No files found.
asn1_value_editor/Scenario.py
View file @
7a9a3488
...
...
@@ -59,9 +59,13 @@ class Scenario(QThread, object):
try
:
mod
=
importlib
.
import_module
(
backend
+
'_backend'
)
except
ImportError
:
self
.
log
.
put
((
self
.
name
,
'ERROR'
,
'Could not import {b}_backend.py'
.
format
(
b
=
backend
)))
try
:
self
.
log
.
put
((
self
.
name
,
'ERROR'
,
'Could not import {b}_backend.py'
.
format
(
b
=
backend
)))
except
AttributeError
:
print
(
"ERROR: could not import {}_backend.py"
.
format
(
backend
))
continue
mod
.
setMsgQ
()
# set the ASN.AST into the backend module, needed to convert VN
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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