diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-04-25 12:39:12 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-04-25 12:39:12 +0000 |
commit | 148263c72dd8a888bb5d2744798e7b49f14f9487 (patch) | |
tree | 38e9283818c82600c4cfd66cd69c9e39c3c8b3b7 | |
parent | 1764764007afec6143e0eec5394ef95c6e7d0be4 (diff) | |
download | bitbake-contrib-148263c72dd8a888bb5d2744798e7b49f14f9487.tar.gz |
bitbake/lib/bb/parse/parse_c/bitbakec.pyx:
-Add missing argument to the getVar
call. (messing with mithros code)
-rw-r--r-- | lib/bb/parse/parse_c/bitbakec.pyx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bb/parse/parse_c/bitbakec.pyx b/lib/bb/parse/parse_c/bitbakec.pyx index 362cc2021..8551ed473 100644 --- a/lib/bb/parse/parse_c/bitbakec.pyx +++ b/lib/bb/parse/parse_c/bitbakec.pyx @@ -64,35 +64,35 @@ cdef public void e_cond(lex_t* c, char* key, char* what): # if val == None: # val = groupd["value"] d = <object>c.data - d.setVar(key, (d.getVar(key) or what)) + d.setVar(key, (d.getVar(key,0) or what)) cdef public void e_prepend(lex_t* c, char* key, char* what): print "e_prepend", key, what #prepend: # val = "%s %s" % (groupd["value"], (bb.data.getVar(key, data) or "")) d = <object>c.data - d.setVar(key, what + " " + (d.getVar(key) or "")) + d.setVar(key, what + " " + (d.getVar(key,0) or "")) cdef public void e_append(lex_t* c, char* key, char* what): print "e_append", key, what #append: # val = "%s %s" % ((bb.data.getVar(key, data) or ""), groupd["value"]) d = <object>c.data - d.setVar(key, (d.getVar(key) or "") + " " + what) + d.setVar(key, (d.getVar(key,0) or "") + " " + what) cdef public void e_precat(lex_t* c, char* key, char* what): print "e_precat", key, what #predot: # val = "%s%s" % (groupd["value"], (bb.data.getVar(key, data) or "")) d = <object>c.data - d.setVar(key, what + (d.getVar(key) or "")) + d.setVar(key, what + (d.getVar(key,0) or "")) cdef public void e_postcat(lex_t* c, char* key, char* what): print "e_postcat", key, what #postdot: # val = "%s%s" % ((bb.data.getVar(key, data) or ""), groupd["value"]) d = <object>c.data - d.setVar(key, (d.getVar(key) or "") + what) + d.setVar(key, (d.getVar(key,0) or "") + what) cdef public void e_addtask(lex_t* c, char* name, char* before, char* after): print "e_addtask", name, before, after |