tests/config.py
author Radek Brich <radek.brich@devl.cz>
Fri, 25 Jan 2013 18:04:17 +0100
changeset 61 703bba757605
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
PgDiff: check schema existance.

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