Merged release 2.0 patch-set 1 (RELEASE-2_0P1 )
r2624 | ffr | 2008-06-12 09:05:36 +1000 (Thu, 12 Jun 2008) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
528d125efe
commit
3a40ea5693
@@ -1,7 +1,7 @@
|
||||
# Some useful functions for SICS configuration.
|
||||
|
||||
# $Revision: 1.11 $
|
||||
# $Date: 2008-05-30 00:26:57 $
|
||||
# $Revision: 1.12 $
|
||||
# $Date: 2008-06-11 23:05:36 $
|
||||
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
||||
# Last revision by $Author: ffr $
|
||||
|
||||
@@ -407,7 +407,7 @@ proc echo {args} {
|
||||
# @param obj, name of a SICS or Tcl object
|
||||
# @return 1 if obj exists otherwise 0
|
||||
proc ::utility::obj_exists {obj} {
|
||||
if { [sicslist match $obj ] != "" || [info exists $obj] } {
|
||||
if { [string trim [sicslist match $obj ]] != "" || [info exists $obj] } {
|
||||
return 1
|
||||
} else {
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user