Files @ 70f645fa97cc
Branch filter:

Location: kallithea/pylons_app/tests/configparser_test.py

Marcin Kuzminski
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
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', '/')