fixes #19, don't skip if overwrite is false

git-svn-id: file:///home/svn/framework3/trunk@4449 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2007-02-21 03:10:48 +00:00
parent fbd91e48d4
commit 4d60b8f146
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class DataStore < Hash
options.each_option { |name, opt|
# If there's already a value defined for this option, then skip it
# and don't import it.
next if self[name]
next if self[name] and overwrite == false
# If the option has a default value, import it, but only if the
# datastore doesn't already have a value set for it.