diff options
| author | Michael Lauer <mickey@vanille-media.de> | 2007-08-19 17:32:08 +0000 |
|---|---|---|
| committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-19 17:32:08 +0000 |
| commit | 9a17103f83b66b0280dc02a6f8d1d9c17b9979c6 (patch) | |
| tree | 9fd63f97082a58cbd53007160a32ec2b72232451 /classes/tinderclient.bbclass | |
| parent | bb59f9f0c2c87057ca814be33c12e7422b74e0c8 (diff) | |
| parent | ec31739549849604c81a09b11568946c6ca82049 (diff) | |
merge of '33d36c3f90d3f3338d861f53c982c88ecc127201'
and '4fe73431c4f4506a83505d3043fbedb9763f1983'
Diffstat (limited to 'classes/tinderclient.bbclass')
| -rw-r--r-- | classes/tinderclient.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index d1d9f49fac..bc004efb26 100644 --- a/classes/tinderclient.bbclass +++ b/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) |
