def set_description(build_url, desc):
    req_data = urllib.parse.urlencode({'description': desc})
req = urllib.request.Request(build_url + '/submitDescription', req_data)
req.add_header('Content-Type', 'application/x-www-form-urlencoded')
urllib.request.urlopen(req)
Set Hudson Build Description via Web API