diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/tinderclient.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/tinderclient.bbclass b/meta/classes/tinderclient.bbclass index d1d9f49fac..bc004efb26 100644 --- a/meta/classes/tinderclient.bbclass +++ b/meta/classes/tinderclient.bbclass | |||
@@ -24,6 +24,7 @@ def tinder_form_data(bound, dict, log): | |||
24 | output = [] | 24 | output = [] |
25 | # for each key in the dictionary | 25 | # for each key in the dictionary |
26 | for name in dict: | 26 | for name in dict: |
27 | assert dict[name] | ||
27 | output.append( "--" + bound ) | 28 | output.append( "--" + bound ) |
28 | output.append( 'Content-Disposition: form-data; name="%s"' % name ) | 29 | output.append( 'Content-Disposition: form-data; name="%s"' % name ) |
29 | output.append( "" ) | 30 | output.append( "" ) |
@@ -60,7 +61,7 @@ def tinder_format_http_post(d,status,log): | |||
60 | "os" : os.uname()[0], | 61 | "os" : os.uname()[0], |
61 | "os_version" : os.uname()[2], | 62 | "os_version" : os.uname()[2], |
62 | "compiler" : "gcc", | 63 | "compiler" : "gcc", |
63 | "clobber" : data.getVar('TINDER_CLOBBER', d, True), | 64 | "clobber" : data.getVar('TINDER_CLOBBER', d, True) or "0", |
64 | "srcdate" : data.getVar('SRCDATE', d, True), | 65 | "srcdate" : data.getVar('SRCDATE', d, True), |
65 | "PN" : data.getVar('PN', d, True), | 66 | "PN" : data.getVar('PN', d, True), |
66 | "PV" : data.getVar('PV', d, True), | 67 | "PV" : data.getVar('PV', d, True), |
@@ -370,9 +371,9 @@ def tinder_do_tinder_report(event): | |||
370 | addhandler tinderclient_eventhandler | 371 | addhandler tinderclient_eventhandler |
371 | python tinderclient_eventhandler() { | 372 | python tinderclient_eventhandler() { |
372 | from bb import note, error, data | 373 | from bb import note, error, data |
373 | from bb.event import NotHandled | 374 | from bb.event import NotHandled, getName |
374 | 375 | ||
375 | if e.data is None: | 376 | if e.data is None or getName(e) == "MsgNote": |
376 | return NotHandled | 377 | return NotHandled |
377 | 378 | ||
378 | do_tinder_report = data.getVar('TINDER_REPORT', e.data, True) | 379 | do_tinder_report = data.getVar('TINDER_REPORT', e.data, True) |