File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ def wait(self, timeout):
75
75
return self .process .wait (timeout = timeout )
76
76
77
77
78
+ class OMCSessionException (Exception ):
79
+ pass
80
+
81
+
78
82
class OMCSessionBase (metaclass = abc .ABCMeta ):
79
83
80
84
def __init__ (self , readonly = False ):
Original file line number Diff line number Diff line change 36
36
CONDITIONS OF OSMC-PL.
37
37
"""
38
38
39
- from OMPython .OMCSession import OMCSessionBase , OMCSessionZMQ
39
+ from OMPython .OMCSession import OMCSessionBase , OMCSessionZMQ , OMCSessionException
40
40
from OMPython .ModelicaSystem import ModelicaSystem , ModelicaSystemError , LinearizationResult
41
41
42
42
# global names imported if import 'from OMPython import *' is used
45
45
'ModelicaSystemError' ,
46
46
'LinearizationResult' ,
47
47
48
+ 'OMCSessionException' ,
48
49
'OMCSessionZMQ' ,
49
50
'OMCSessionBase' ,
50
51
]
You can’t perform that action at this time.
0 commit comments