Skip to content

Commit fd86471

Browse files
dietmarwOpenModelica-Hudson
authored andcommitted
Use ZMQ only since testing for CORBA did not really work out.
Belonging to [master]: - OpenModelica/OMCompiler#2507
1 parent 383f820 commit fd86471

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Examples/generate_icons.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,8 @@
3939
from optparse import OptionParser
4040

4141
import svgwrite
42-
try:
43-
from OMPython import OMCSession
44-
omc = OMCSession()
45-
print("Using CORBA")
46-
except ImportError:
47-
from OMPython import OMCSessionZMQ
48-
omc = OMCSessionZMQ()
49-
print("No CORBA interface found, using ZMQ instead")
42+
from OMPython import OMCSessionZMQ
43+
omc = OMCSessionZMQ()
5044

5145
# OpenModelica setup commands
5246
OMC_SETUP_COMMANDS = ['setCommandLineOptions("-d=nogen,noevalfunc")']

0 commit comments

Comments
 (0)