From ccd66bba85442f46223b7cc514cd590829e5d37f Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Thu, 5 Aug 2004 20:33:18 +0000 Subject: only apply ?= assignments if variable is None, not if it is the empty string --- bin/oe/parse/ConfHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/oe/parse/ConfHandler.py b/bin/oe/parse/ConfHandler.py index 6db74cc3c..2e17f7f64 100644 --- a/bin/oe/parse/ConfHandler.py +++ b/bin/oe/parse/ConfHandler.py @@ -152,7 +152,7 @@ def feeder(lineno, s, fn, data = {}): oe.data.setVarFlag(key, "export", 1, data) if "ques" in groupd and groupd["ques"] != None: val = oe.data.getVar(key, data) - if not val: + if val == None: val = groupd["value"] elif "colon" in groupd and groupd["colon"] != None: val = oe.data.expand(groupd["value"], data) -- cgit 1.2.3-korg