Files @ 78e406a4c58e
Branch filter:

Location: kallithea/pylons_app/__init__.py

Marcin Kuzminski
moved checking for user in session to wrapper function of LoginRequired decorator since it was working quite strange.
"""
Hg app, a web based mercurial repository managment based on pylons
"""

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