tests/config.py
author Radek Brich <radek.brich@devl.cz>
Thu, 10 May 2012 08:42:21 +0200
changeset 34 98c7809af415
parent 22 680631f35d83
child 37 5b0eb4b11940
permissions -rw-r--r--
Add PgDataCopy. Add TableCopyTool.Add SrcDstTablesTool class to toolbase, use in tablecopy, tablediff.

import sys

sys.path.insert(0, '..')


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