Skip to content

Commit

Permalink
- Changed Parser to OMParser.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11451 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Mar 16, 2012
1 parent c52b87c commit e427f8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/scripts/ompython/OMPython.py
Expand Up @@ -43,7 +43,7 @@
import _GlobalIDL

# import the parse module
import Parser
import OMParser

# Randomize the IOR file name
random_string = str(datetime.now())
Expand All @@ -69,10 +69,10 @@

# See if the omc server is running
if os.path.isfile(ior_file):
print "OMC Server is up and running at " + omc_corba_uri + "\n"
print "OMC Server is up and running at " + omc_corba_uri + "\n"
else:
print "OMC Server is down. Please start it! Exiting...\n"
sys.exit(2)
print "OMC Server is down. Please start it! Exiting...\n"
sys.exit(2)

# Read the IOR file
objid_file=open(ior_file)
Expand Down

0 comments on commit e427f8f

Please sign in to comment.