Files @ 3380ca40cdba
Branch filter:

Location: kallithea/pylons_app/tests/configparser_test.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
import os
p = os.path.dirname(__file__)
repos = os.path.join(p, '../..', 'hgwebdir.config')
#repos = "/home/marcink/python_workspace/hg_app/hgwebdir.config"
print repos
from ConfigParser import ConfigParser

cp = ConfigParser()

cp.read(repos)
print cp.get('paths', '/')