Mercurial > kallithea
comparison rhodecode/__init__.py @ 2172:af8f25f76784
merge
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 28 Mar 2012 22:59:41 +0200 |
parents | dc2584ba5fbc 28d9893d6a23 |
children | a437a986d399 |
comparison
equal
deleted
inserted
replaced
2169:b0b86e48104a | 2172:af8f25f76784 |
---|---|
29 VERSION = (1, 3, 4) | 29 VERSION = (1, 3, 4) |
30 | 30 |
31 try: | 31 try: |
32 from rhodecode.lib import get_current_revision | 32 from rhodecode.lib import get_current_revision |
33 _rev = get_current_revision() | 33 _rev = get_current_revision() |
34 if _rev: | 34 if _rev and len(VERSION) > 3: |
35 VERSION += ('dev%s' % _rev[0],) | 35 VERSION += ('dev%s' % _rev[0],) |
36 except ImportError: | 36 except ImportError: |
37 pass | 37 pass |
38 | 38 |
39 __version__ = ('.'.join((str(each) for each in VERSION[:3])) + | 39 __version__ = ('.'.join((str(each) for each in VERSION[:3])) + |