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):
7575 return self .process .wait (timeout = timeout )
7676
7777
78+ class OMCSessionException (Exception ):
79+ pass
80+
81+
7882class OMCSessionBase (metaclass = abc .ABCMeta ):
7983
8084 def __init__ (self , readonly = False ):
Original file line number Diff line number Diff line change 3636 CONDITIONS OF OSMC-PL.
3737"""
3838
39- from OMPython .OMCSession import OMCSessionBase , OMCSessionZMQ
39+ from OMPython .OMCSession import OMCSessionBase , OMCSessionZMQ , OMCSessionException
4040from OMPython .ModelicaSystem import ModelicaSystem , ModelicaSystemError , LinearizationResult
4141
4242# global names imported if import 'from OMPython import *' is used
4545 'ModelicaSystemError' ,
4646 'LinearizationResult' ,
4747
48+ 'OMCSessionException' ,
4849 'OMCSessionZMQ' ,
4950 'OMCSessionBase' ,
5051]
You can’t perform that action at this time.
0 commit comments