From: John Bowler Date: Tue, 2 Aug 2005 00:38:07 +0000 (+0000) Subject: To avoid further errors this is a manual copy of the current X-Git-Tag: Release-2010-05/1~9453^2~4014^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=610be6834096a4bc2653bb157bf5b44bb0043fdc;p=openembedded.git To avoid further errors this is a manual copy of the current classes/tinderclient.bbclass (which includes the de-reverted change) from org.openembedded.dev --- diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index 3c88b2ac63..168b7dec4e 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -1,5 +1,5 @@ def tinder_tz_offset(off): - # get the offset. Either it is a number like + # get the offset.n minutes Either it is a number like # +200 or -300 try: return int(off) @@ -42,9 +42,16 @@ def tinder_send_http(da, header, log): import httplib, urllib cont = "\n%s\n%s" % ( header, log) headers = {"Content-type": "multipart/form-data" } + print cont conn = httplib.HTTPConnection(data.getVar('TINDER_HOST',da, True)) conn.request("POST", data.getVar('TINDER_URL',da,True), cont, headers) + + resp = conn.getresponse() + print resp.status, resp.reason + data = resp.read() + print data + conn.close()