From 20a71df198c8e8577712c0f7efc4acfa3daa747d Mon Sep 17 00:00:00 2001 From: "Zhidong.Hao" Date: Wed, 26 Nov 2014 13:52:01 -0500 Subject: [PATCH] ASM #633 GFE: SmartScript method loadParm() exception handler broken Change-Id: Ic7bef317b06dd695889bcc72cceee4ef41b147bc Former-commit-id: a7019b2c0c488c1954f38c0f836a56a0511ea706 [formerly 12ed9574fa7f62d200d50419f88b8ab773930e7a] Former-commit-id: 1f19ce8a20c91ee74c0aa3811c01b322399c4206 --- .../localization/gfe/userPython/utilities/SmartScript.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cave/com.raytheon.viz.gfe/localization/gfe/userPython/utilities/SmartScript.py b/cave/com.raytheon.viz.gfe/localization/gfe/userPython/utilities/SmartScript.py index aedac1e2ef..a820188beb 100644 --- a/cave/com.raytheon.viz.gfe/localization/gfe/userPython/utilities/SmartScript.py +++ b/cave/com.raytheon.viz.gfe/localization/gfe/userPython/utilities/SmartScript.py @@ -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. #