tests/config.py
author Radek Brich <radek.brich@devl.cz>
Tue, 05 Mar 2013 11:27:34 +0100
changeset 72 539c2dd47f3b
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
Update browser tool to work with current Tuikit. Add RPM's BuildRequires to setup.cfg.

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