Changeset - b76da6f22e0f
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 15 years ago 2010-12-16 01:25:43
marcin@python-works.com
fixed some problems with python setup.py operations due to import problems
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/__init__.py
Show inline comments
 
@@ -31,8 +31,12 @@ VERSION = (1, 1, 0, 'beta')
 
__version__ = '.'.join((str(each) for each in VERSION[:4]))
 
__dbversion__ = 2 #defines current db version for migrations
 

	
 
try:
 
from rhodecode.lib.utils import get_current_revision
 
_rev = get_current_revision()
 
except ImportError:
 
    #this is needed when doing some setup.py operations
 
    _rev = False
 

	
 
if len(VERSION) > 3 and _rev:
 
    __version__ += ' [rev:%s]' % _rev[0]
0 comments (0 inline, 0 general)