Committed
git-svn-id: file:///home/svn/incoming/trunk@3550 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
7e26814b6c
commit
0b1d97f653
|
@ -73,8 +73,6 @@ class DataStore < Hash
|
|||
|
||||
next if (var =~ /^\s+$/)
|
||||
|
||||
# Remove trailing whitespaces from the value
|
||||
val.gsub!(/\s+$/, '')
|
||||
|
||||
# Invalid parse? Raise an exception and let those bastards know.
|
||||
if (var == nil or val == nil)
|
||||
|
@ -84,6 +82,9 @@ class DataStore < Hash
|
|||
caller
|
||||
end
|
||||
|
||||
# Remove trailing whitespaces from the value
|
||||
val.gsub!(/\s+$/, '')
|
||||
|
||||
# Store the value
|
||||
hash[var] = val
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue