tests/config.py
author Radek Brich <brich.radek@ifortuna.cz>
Wed, 10 Apr 2013 11:22:15 +0200
changeset 82 7b82dc1fb6f5
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Bump version.

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