tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 07 Feb 2012 11:32:07 +0100
changeset 28 27fc0504663d
parent 22 680631f35d83
child 37 5b0eb4b11940
permissions -rw-r--r--
analyzeall: analyze tables from all schemas by default

import sys

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


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