summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-07-30 13:18:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-30 13:18:57 +0000
commitbbfe419ac95af0ba2ecb367223cc087cd81123b0 (patch)
tree486b5d06ab55a9749efca3c15ed1405977630ad1 /classes
parent32d843f4a65a31c07bc4f823d3d574387c7305d9 (diff)
openembedded/classes/tinderclient.bbclass:
-Use spaces only, no more tabs to avoid issues with python and level of indention
Diffstat (limited to 'classes')
-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)