tests/config.py
author Radek Brich <radek.brich@devl.cz>
Thu, 07 Mar 2013 18:26:52 +0100
changeset 75 39f777341db4
parent 49 08e4dfe1b0cb
permissions -rw-r--r--
MyManager: Add Cursor.mogrify(). Fix query logging. Update tests.

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