mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
- Don't tream an hash like an array.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -848,7 +848,7 @@ sub writeConfiguration {
|
||||
if (!defined($$handler_attrs{$attribute})) {
|
||||
if (!$$attributes{$attribute}->{'static'}) {
|
||||
if (defined($$attributes{$attribute}->{'keys'})) {
|
||||
foreach my $key (@{$$attributes{$attribute}->{'keys'}}) {
|
||||
foreach my $key (keys %{$$attributes{$attribute}->{'keys'}}) {
|
||||
my $value = $$attributes{$attribute}->{'keys'}->{$key}->{'value'};
|
||||
$value = "\"$value\"" if ($value =~ / /);
|
||||
$attribute_buff .= "\t\t$attribute $value\n"
|
||||
|
||||
Reference in New Issue
Block a user