view python/namespace.py @ 702:302a4e385f74

remove onelineit from keys
author Jeff Hammel <k0scist@gmail.com>
date Fri, 22 Aug 2014 15:57:36 -0700
parents 0a979b847461
children
line wrap: on
line source

class Namespace(object):
    def __init__(self, **kwargs):
        for key, value in kwargs.items():
            setattr(self, key, value)