Files @ 6c23e72437e3
Branch filter:

Location: kallithea/pylons_app/tests/configparser_test.py

Marcin Kuzminski
mercurial middleware now returns 500's instead of 404 on errors and 404 when repo not found, added tracebacks
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', '/')