Skip to content

Commit 00db67a

Browse files
committed
ProcessUtils support Switch
1 parent 8643db9 commit 00db67a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

isc/py/data/Context.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Method PopulateVariables(maxLength As %Integer = {$$$MaxStringLength}, mask As %
8989
/// ToDo move to %OnNew?
9090
Method Init()
9191
{
92-
do ##class(isc.py.Callout).SimpleString("import types, json;") // readline
92+
do ##class(isc.py.Callout).SimpleString("import types, json") // readline
9393
do ##class(isc.py.Callout).SimpleString("def zzzmodulesfunc():"_ $c(10) _
9494
" for name, val in globals().items():"_ $c(10) _
9595
" if isinstance(val, types.ModuleType):"_ $c(10) _

isc/py/ens/ProcessUtils.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ ClassMethod ParseActivities(activities As Ens.BPL.ActivityList)
5757
} elseif (class="Ens.BPL.If") {
5858
do ..ParseActivities(activity.True)
5959
do ..ParseActivities(activity.False)
60+
} elseif (class ="Ens.BPL.Switch"){
61+
do ..ParseActivities(activity.Cases)
6062
} else {
6163
set annotationText = $$$quote(activity.Annotation)
6264
do:activity.Annotation'="" %code.WriteLine(" quit:name=""" _ activity.Name _ """ " _ annotationText)

0 commit comments

Comments
 (0)