def tinder_http_post(d, server, selector, content_type, body):
import httplib
- from bb import data
# now post it
for i in range(0,5):
try:
for the tinderbox to be happy.
"""
- from bb import data, build
- import os,random
+ import random
# the variables we will need to send on this form post
variables = {
"TARGETOS" : data.getVar('TARGET_OS', d, True) or "Unknown",
"MACHINE" : data.getVar('MACHINE', d, True) or "Unknown",
"DISTRO" : data.getVar('DISTRO', d, True) or "Unknown",
- "zecke-rocks" : "sure",
}
# optionally add the status