Diff

Differences From Artifact [6a56c0db7f]:

To Artifact [a0bff81028]:


    44     44   			} else {
    45     45   				set ncode "900"
    46     46   			}
    47     47   
    48     48   			close $fd
    49     49   
    50     50   			if {$keyIsHash} {
    51         -				set hash "__UNABLE_TO_COMPUTE_HASH__"
    52         -				catch {
    53         -					set hash [string tolower [sha1::sha1 -hex -file $tmpfile]]
    54         -				}
           51  +				set hash [string tolower [sha1::sha1 -hex -file $tmpfile]]
    55     52   			} else {
    56     53   				set hash $key
    57     54   			}
    58     55   
    59     56   			if {$ncode == "200" && $hash == $key} {
    60     57   				file rename -force -- $tmpfile $file
    61     58   			} else {