tests/config.py
author Radek Brich <radek.brich@devl.cz>
Mon, 17 Dec 2012 16:48:12 +0100
changeset 56 94e091c23ebb
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Add reverse parameter for diff tools.

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