view bitten/__init__.py @ 913:5bfdd7348d6f

Allow passing the build master's URL without the /builds suffix when calling bitten-slave by appending /builds to URLs that don't have it. This also prevents bitten-slave from contacting the wrong domain if a bad URL is passed.
author hodgestar
date Thu, 19 May 2011 14:02:55 +0000
parents 59acaa8b52c0
children
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2010 Edgewall Software
# Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de>
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://bitten.edgewall.org/wiki/License.

__docformat__ = 'restructuredtext en'
try:
    __version__ = __import__('pkg_resources').get_distribution('Bitten').version
except:
    try:
        __version__ = __import__('pkg_resources').get_distribution(
                                                    'BittenSlave').version
    except:
        pass

# The master-slave protocol/configuration version
PROTOCOL_VERSION = 5
Copyright (C) 2012-2017 Edgewall Software