tests/config.py
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Jul 2014 18:04:11 +0200
changeset 105 10551741f61f
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Move batchquery, listtables tools under pgtool.

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