Commit e9a010e7 authored by bonnell's avatar bonnell

Make ultra wrapper handle empty input line

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@11998 18c085ea-50e0-402c-830e-de6fd14e8384
parent 0e213918
......@@ -561,15 +561,17 @@ def runUltraWrapper():
SetUltraScript("")
else:
cmd = raw_input('U-> ')
if cmd.split()[0] == 'runscript':
ultrascript.parseFile(cmd.split()[1])
continue
try:
ulRes = ultracommand.parseString(cmd)
except ParseException, err:
print 'Exception (%s) while parsing command: %s' %(err,cmd)
UltraUsage(cmd.split()[0])
continue
if cmd != '':
if cmd.split()[0] == 'runscript':
ultrascript.parseFile(cmd.split()[1])
continue
try:
ulRes = ultracommand.parseString(cmd)
except ParseException, err:
print 'Exception (%s) while parsing command: %s' %(err,cmd)
UltraUsage(cmd.split()[0])
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment