##// END OF EJS Templates
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
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

File last commit:

r185:3380ca40 default
r185:3380ca40 default
Show More
__init__.py
13 lines | 316 B | text/x-python | PythonLexer
"""
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]))