comparison bitten/slave.py @ 871:0a59d3e71870 0.6.x

0.6dev: Merged [948] from trunk.
author hodgestar
date Mon, 18 Oct 2010 14:04:27 +0000
parents 8df9bc903edb
children 9ac91d38198c
comparison
equal deleted inserted replaced
869:467e993df52d 871:0a59d3e71870
82 httplib-like call. 82 httplib-like call.
83 83
84 Normal key/value items are treated as regular parameters, but key/tuple 84 Normal key/value items are treated as regular parameters, but key/tuple
85 items are treated as files, where a value tuple is a (filename, data) tuple. 85 items are treated as files, where a value tuple is a (filename, data) tuple.
86 86
87 For example: 87 For example::
88
88 fields = { 89 fields = {
89 'foo': 'bar', 90 'foo': 'bar',
90 'foofile': ('foofile.txt', 'contents of foofile'), 91 'foofile': ('foofile.txt', 'contents of foofile'),
91 } 92 }
92 body, content_type = encode_multipart_formdata(fields) 93 body, content_type = encode_multipart_formdata(fields)
206 :param single_build: whether this slave should exit after completing a 207 :param single_build: whether this slave should exit after completing a
207 single build, or continue processing builds forever 208 single build, or continue processing builds forever
208 :param poll_interval: the time in seconds to wait between requesting 209 :param poll_interval: the time in seconds to wait between requesting
209 builds from the build master (default is five 210 builds from the build master (default is five
210 minutes) 211 minutes)
211 :param keep_alive_interval: the time in seconds to wait between sending 212 :param keepalive_interval: the time in seconds to wait between sending
212 keepalive heartbeats (default is 30 seconds) 213 keepalive heartbeats (default is 30 seconds)
213 :param username: the username to use when authentication against the 214 :param username: the username to use when authentication against the
214 build master is requested 215 build master is requested
215 :param password: the password to use when authentication is needed 216 :param password: the password to use when authentication is needed
216 :param dump_reports: whether report data should be written to the 217 :param dump_reports: whether report data should be written to the
Copyright (C) 2012-2017 Edgewall Software