Files @ 3380ca40cdba
Branch filter:

Location: kallithea/pylons_app/__init__.py

Marcin Kuzminski
added version generation to pylons_app and showed it into template. Propagated baseController with some data for acces into each controller. Fixed simplehg middleware to get proper name of application
"""
Hg app, a web based mercurial repository managment based on pylons
"""

VERSION = (0, 6, 0, '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]))