projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873dbc1
)
only apply ?= assignments if variable is None, not if it is the empty string
author
Phil Blundell
<philb@gnu.org>
Thu, 5 Aug 2004 20:33:18 +0000
(20:33 +0000)
committer
Phil Blundell
<philb@gnu.org>
Thu, 5 Aug 2004 20:33:18 +0000
(20:33 +0000)
bin/oe/parse/ConfHandler.py
patch
|
blob
|
history
diff --git
a/bin/oe/parse/ConfHandler.py
b/bin/oe/parse/ConfHandler.py
index
6db74cc
..
2e17f7f
100644
(file)
--- 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)