tests/config.py
author Radek Brich <radek.brich@devl.cz>
Fri, 05 Oct 2012 14:31:25 +0200
changeset 51 bdc44f96cb0b
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Add loopquery tool. Log notices to console from all tools (toolbase).

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