tests/config.py
author Radek Brich <radek.brich@devl.cz>
Mon, 17 Dec 2012 21:12:04 +0100
changeset 57 ba323bbed6a4
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Update browser tool: Add Schemas and Tables nodes, populate nodes when expanded.

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