summaryrefslogtreecommitdiff
path: root/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-07-30 17:28:12 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-30 17:28:12 +0000
commite352a75c8437fa325844ef19c6217c83872831c6 (patch)
treead00ca866a0d141a43219c2c91697cc578040327 /classes/tinderclient.bbclass
parent2d03a83abf7490b79e84fc77b58c12fc545a2e2c (diff)
parentbbfe419ac95af0ba2ecb367223cc087cd81123b0 (diff)
merge of 72702dc0f20d493c1f7ba7870f55f950538bb364
and 76fbcca84ea4f2ed154c217a5754da2d9296c711
Diffstat (limited to 'classes/tinderclient.bbclass')
-rw-r--r--classes/tinderclient.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index 5de9b8755a..c424797d16 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -21,8 +21,8 @@ def tinder_send_http(da, header, log):
from bb import data
import httplib, urllib
cont = "\n%s\n%s" % ( header, log)
- headers = {"Content-type": "multipart/form-data" }
-
+ headers = {"Content-type": "multipart/form-data" }
+
conn = httplib.HTTPConnection(data.getVar('TINDER_HOST',da, True))
conn.request("POST", data.getVar('TINDER_URL',da,True), cont, headers)
conn.close()
@@ -76,8 +76,8 @@ def tinder_do_tinder_report(event):
if name == "PkgFailed" or name == "BuildCompleted":
status = 'build_failed'
- if name == "BuildCompleted":
- status = "success"
+ if name == "BuildCompleted":
+ status = "success"
header = tinder_prepare_mail_header(event.data, status)
# append the log
log_file = data.getVar('TINDER_LOG', event.data, True)
@@ -120,7 +120,7 @@ def tinder_do_tinder_report(event):
log_post_method = tinder_send_email
if data.getVar('TINDER_SENDLOG', event.data, True) == "http":
- log_post_method = tinder_send_http
+ log_post_method = tinder_send_http
log_post_method(event.data, header, log)