Remove obsolete hlistplainprop procedure.
r2861 | ffr | 2010-01-13 16:12:16 +1100 (Wed, 13 Jan 2010) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
fd6a955d6b
commit
7970a94acf
@@ -77,7 +77,7 @@ proc _query_nameval {query nameval_list} {
|
||||
}
|
||||
|
||||
proc query_propval {hp query} {
|
||||
return [ query_nameval $query [::utility::hlistplainprop $hp] ]
|
||||
return [ query_nameval $query [hlistprop $hp tcllist] ]
|
||||
}
|
||||
proc query_attval {sobj query} {
|
||||
return [ query_nameval $query [attlist $sobj] ]
|
||||
|
||||
@@ -530,14 +530,6 @@ proc ::utility::hgetplainprop {hpath prop} {
|
||||
}
|
||||
return $propStr
|
||||
}
|
||||
proc ::utility::hlistplainprop {hpath} {
|
||||
if [ catch {
|
||||
set propStr [string trim [join [split [string map {" " _} [regsub {[^
|
||||
]*= *
|
||||
} [hlistprop $hpath] {} ]] =] ]]
|
||||
} message ] {
|
||||
return -code error "([info level 0]) $message"
|
||||
}
|
||||
|
||||
proc ::utility::GetUID {userName} {
|
||||
if [ catch {
|
||||
|
||||
Reference in New Issue
Block a user