tests/config.py
author Radek Brich <radek.brich@devl.cz>
Thu, 13 Dec 2012 17:15:10 +0100
changeset 55 adc1615d8fc5
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Fix PgDataDiff.

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