Dont create control alias unless there is a name to use
This commit is contained in:
@ -925,11 +925,13 @@ upvar #0 $instDict dictionary
|
|||||||
}
|
}
|
||||||
foreach node [hmatchprop / permlink *] {
|
foreach node [hmatchprop / permlink *] {
|
||||||
set plink [hgetpropval $node permlink]
|
set plink [hgetpropval $node permlink]
|
||||||
|
if {[llength $plink] > 1} {
|
||||||
set target [lindex $plink 0]
|
set target [lindex $plink 0]
|
||||||
if {$target == "data_set" && [hgetpropval $node control]} {
|
if {$target == "data_set" && [hgetpropval $node control]} {
|
||||||
::hdb::alias "/control" $node {*}$plink
|
::hdb::alias "/control" $node {*}$plink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} message ]
|
} message ]
|
||||||
handle_exception $catch_status $message
|
handle_exception $catch_status $message
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user