tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 11 Dec 2012 11:25:06 +0100
changeset 53 4a049a5af657
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Update PgDiff: Support SQL patch for constraints. Fix changes of column default value.

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