summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-02 11:06:59 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-02 11:06:59 +0000
commitbc4750318ea0e0e23dbe75b66330078de67bb53e (patch)
tree3c44d08e5bc77f6079a58f86f15a7f814aaf4f5e
parent47ea9ba7123790f95d535d657809a6027fd400e4 (diff)
downloadopenembedded-core-bc4750318ea0e0e23dbe75b66330078de67bb53e.tar.gz
openembedded-core-bc4750318ea0e0e23dbe75b66330078de67bb53e.tar.bz2
openembedded-core-bc4750318ea0e0e23dbe75b66330078de67bb53e.tar.xz
openembedded-core-bc4750318ea0e0e23dbe75b66330078de67bb53e.zip
tinderclient.bbclass: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2647 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/tinderclient.bbclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/tinderclient.bbclass b/meta/classes/tinderclient.bbclass
index d1d9f49fa..bc004efb2 100644
--- a/meta/classes/tinderclient.bbclass
+++ b/meta/classes/tinderclient.bbclass
@@ -24,6 +24,7 @@ def tinder_form_data(bound, dict, log):
output = []
# for each key in the dictionary
for name in dict:
+ assert dict[name]
output.append( "--" + bound )
output.append( 'Content-Disposition: form-data; name="%s"' % name )
output.append( "" )
@@ -60,7 +61,7 @@ def tinder_format_http_post(d,status,log):
"os" : os.uname()[0],
"os_version" : os.uname()[2],
"compiler" : "gcc",
- "clobber" : data.getVar('TINDER_CLOBBER', d, True),
+ "clobber" : data.getVar('TINDER_CLOBBER', d, True) or "0",
"srcdate" : data.getVar('SRCDATE', d, True),
"PN" : data.getVar('PN', d, True),
"PV" : data.getVar('PV', d, True),
@@ -370,9 +371,9 @@ def tinder_do_tinder_report(event):
addhandler tinderclient_eventhandler
python tinderclient_eventhandler() {
from bb import note, error, data
- from bb.event import NotHandled
+ from bb.event import NotHandled, getName
- if e.data is None:
+ if e.data is None or getName(e) == "MsgNote":
return NotHandled
do_tinder_report = data.getVar('TINDER_REPORT', e.data, True)