tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 07 Feb 2012 10:40:35 +0100
changeset 27 5fb4883604d6
parent 22 680631f35d83
child 37 5b0eb4b11940
permissions -rw-r--r--
Add analyzeall tool. Updates, fixes.

import sys

sys.path.insert(0, '..')


class Config(dict):
    def __init__(self, fname):
        data = open(fname).read()
        exec(data, dict(), self)