sbsv2/raptor/python/raptor_version.py
author raptorbot <raptorbot@systemstesthead.symbian.intra>
Mon, 15 Feb 2010 13:33:43 +0000
branchfix
changeset 209 604f2aceff59
parent 177 a363840a27e3
child 211 b06effc0c547
permissions -rw-r--r--
test: make sure '\' characters in a string are escaped to \\ so that the regexp works

#
# Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
# raptor version information module

# replace CHANGESET with the Hg changeset for ANY release

version=(2,12,1,"2010-01-29","symbian build system","CHANGESET")

def numericversion():
	"""Raptor version string"""
	return "%d.%d.%d" % version[:3]

def fullversion():
	"""Raptor version string"""
	return "%d.%d.%d [%s %s %s]" % version