tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 24 Sep 2013 13:34:15 +0200
changeset 87 3ef717ee9253
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
PgDiff: Add support for indexes.

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