Mercurial > bitten > bitten-test
changeset 267:7429be6b5720
* Fix some typos.
* Remove debug leftover from `bitten.recipe`.
* Add copyright notice for XML/SWF charts.
author | cmlenz |
---|---|
date | Thu, 06 Oct 2005 23:55:14 +0000 |
parents | e1928d06f1b9 |
children | 4a6545360c23 |
files | COPYING README.txt bitten/build/pythontools.py bitten/master.py bitten/recipe.py |
diffstat | 5 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYING +++ b/COPYING @@ -26,3 +26,10 @@ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +==================================================================== + +This software includes a copy of XML/SWF charts, which is +Copyright (C) 2004-2005 maani.us +See http://www.maani.us/xml_charts/index.php?menu=License for more +information.
--- a/README.txt +++ b/README.txt @@ -119,7 +119,7 @@ $ bitten-slave --help -To run the build slave against a slave installed on myproject.example.org, +To run the build slave against a master installed on myproject.example.org, you'd run: $ bitten-slave myproject.example.org
--- a/bitten/build/pythontools.py +++ b/bitten/build/pythontools.py @@ -227,11 +227,11 @@ assert file_, 'Missing required attribute "file"' try: - fd = open(ctxt.resolve(file_), 'r') + fileobj = file(ctxt.resolve(file_), 'r') try: total, failed = 0, 0 results = xmlio.Fragment() - for child in xmlio.parse(fd).children(): + for child in xmlio.parse(fileobj).children(): test = xmlio.Element('test') for name, value in child.attr.items(): if name == 'file': @@ -255,7 +255,7 @@ total != 1 and 's' or '')) ctxt.report('test', results) finally: - fd.close() + fileobj.close() except IOError, e: log.warning('Error opening unittest results file (%s)', e) except xmlio.ParseError, e:
--- a/bitten/master.py +++ b/bitten/master.py @@ -369,7 +369,7 @@ default=DEFAULT_CHECK_INTERVAL, type='int', help='poll interval for changeset detection') parser.add_option('--timewarp', action='store_true', dest='timewarp', - help='adjust timestamps of builds to be neat the ' + help='adjust timestamps of builds to be near the ' 'timestamps of the corresponding changesets') parser.add_option('--debug', action='store_const', dest='loglevel', const=logging.DEBUG, help='enable debugging output')