ASM #633 GFE: SmartScript method loadParm() exception handler broken

Change-Id: Ic7bef317b06dd695889bcc72cceee4ef41b147bc

Former-commit-id: 1f19ce8a20 [formerly a7019b2c0c [formerly 12ed9574fa7f62d200d50419f88b8ab773930e7a]]
Former-commit-id: a7019b2c0c
Former-commit-id: 0580bc3c94
This commit is contained in:
Zhidong.Hao 2014-11-26 13:52:01 -05:00
parent c44b430dc6
commit d345470657

View file

@ -56,7 +56,7 @@
# Wx/Discrete in First mode.
# Dec 23, 2013 16893 ryu Added unloadWEs() method (created by njensen)
# Apr 29, 2014 3097 randerso Fixed getGrids() to return non-scalar grids as tuples in all cases
#
# Nov 26, 2014 #633 zhao Corrected a type error in loadParm()
########################################################################
import types, string, time, sys
from math import *
@ -213,7 +213,7 @@ class SmartScript(BaseTool.BaseTool):
else:
raise TypeError("SmartScript loadParm: " + \
"couldn't load " + `model` + ' ' + `element` + ' ' + `level` + \
' ' + mostRecent)
' ' + str(mostRecent) + " (None is returned from getParm())" )
##
# Get the list of timeranges locked by me in this weather element.
#