tests/config.py
author Radek Brich <brich.radek@ifortuna.cz>
Tue, 06 May 2014 18:34:38 +0200
changeset 99 245646538743
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Update runquery tool: Add --one-query-per-line parameter.

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