Show More
@@ -1,34 +1,34 b'' | |||||
1 | #!/usr/bin/env python |
|
1 | #!/usr/bin/env python | |
2 | # encoding: utf-8 |
|
2 | # encoding: utf-8 | |
3 | # Hg app, a web based mercurial repository managment based on pylons |
|
3 | # Hg app, a web based mercurial repository managment based on pylons | |
4 | # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> |
|
4 | # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> | |
5 | # |
|
5 | # | |
6 | # This program is free software; you can redistribute it and/or |
|
6 | # This program is free software; you can redistribute it and/or | |
7 | # modify it under the terms of the GNU General Public License |
|
7 | # modify it under the terms of the GNU General Public License | |
8 | # as published by the Free Software Foundation; version 2 |
|
8 | # as published by the Free Software Foundation; version 2 | |
9 | # of the License or (at your opinion) any later version of the license. |
|
9 | # of the License or (at your opinion) any later version of the license. | |
10 | # |
|
10 | # | |
11 | # This program is distributed in the hope that it will be useful, |
|
11 | # This program is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. |
|
14 | # GNU General Public License for more details. | |
15 | # |
|
15 | # | |
16 | # You should have received a copy of the GNU General Public License |
|
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program; if not, write to the Free Software |
|
17 | # along with this program; if not, write to the Free Software | |
18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
19 | # MA 02110-1301, USA. |
|
19 | # MA 02110-1301, USA. | |
20 | """ |
|
20 | """ | |
21 | Created on April 9, 2010 |
|
21 | Created on April 9, 2010 | |
22 | Hg app, a web based mercurial repository managment based on pylons |
|
22 | Hg app, a web based mercurial repository managment based on pylons | |
23 | @author: marcink |
|
23 | @author: marcink | |
24 | """ |
|
24 | """ | |
25 |
|
25 | |||
26 |
VERSION = (0, 8, |
|
26 | VERSION = (0, 8, 1, 'beta') | |
27 |
|
27 | |||
28 | __version__ = '.'.join((str(each) for each in VERSION[:4])) |
|
28 | __version__ = '.'.join((str(each) for each in VERSION[:4])) | |
29 |
|
29 | |||
30 | def get_version(): |
|
30 | def get_version(): | |
31 | """ |
|
31 | """ | |
32 | Returns shorter version (digit parts only) as string. |
|
32 | Returns shorter version (digit parts only) as string. | |
33 | """ |
|
33 | """ | |
34 | return '.'.join((str(each) for each in VERSION[:3])) |
|
34 | return '.'.join((str(each) for each in VERSION[:3])) |
General Comments 0
You need to be logged in to leave comments.
Login now