view pylons_app/__init__.py @ 247:51434007e21d

proper sorting fix
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 03 Jun 2010 16:01:47 +0200
parents ca80f8c00562
children 3782a6d698af
line wrap: on
line source

"""
Hg app, a web based mercurial repository managment based on pylons
"""

VERSION = (0, 7, 6, 'beta')

__version__ = '.'.join((str(each) for each in VERSION[:4]))

def get_version():
    """
    Returns shorter version (digit parts only) as string.
    """
    return '.'.join((str(each) for each in VERSION[:3]))