tests/config.py
author Radek Brich <radek.brich@devl.cz>
Thu, 24 Jan 2013 17:11:17 +0100
changeset 58 0bcc13460dae
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
PgBrowser: Add functions. PgDiff: Compare functions.

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