author | timothy.murphy@nokia.com |
Tue, 13 Apr 2010 13:30:12 +0100 | |
branch | fix |
changeset 482 | f3b5772862f7 |
parent 432 | 679d97112f98 |
child 554 | e7dd8533063f |
permissions | -rw-r--r-- |
3 | 1 |
# |
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
2 |
# Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 | 3 |
# All rights reserved. |
4 |
# This component and the accompanying materials are made available |
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
|
6 |
# which accompanies this distribution, and is available |
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
# |
|
9 |
# Initial Contributors: |
|
10 |
# Nokia Corporation - initial contribution. |
|
11 |
# |
|
12 |
# Contributors: |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# raptor version information module |
|
16 |
||
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
17 |
# replace CHANGESET with the Hg changeset for ANY release |
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
18 |
|
432 | 19 |
version=(2,13,0,"2010-04-12","symbian build system","CHANGESET") |
5 | 20 |
|
21 |
def numericversion(): |
|
3 | 22 |
"""Raptor version string""" |
5 | 23 |
return "%d.%d.%d" % version[:3] |
24 |
||
25 |
def fullversion(): |
|
26 |
"""Raptor version string""" |
|
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
27 |
return "%d.%d.%d [%s %s %s]" % version |