tests/config.py
author Radek Brich <radek.brich@devl.cz>
Mon, 27 Feb 2012 15:12:40 +0100
changeset 30 a8b7cd92f39f
parent 22 680631f35d83
child 37 5b0eb4b11940
permissions -rw-r--r--
Fix analyzeall tool. Add user output formating to batchquery tool. Add isolation_level setting support to ToolBase.

import sys

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


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