view python/namespace.py @ 728:6ba565f99696

cache credentials for a session
author Jeff Hammel <k0scist@gmail.com>
date Fri, 05 Dec 2014 16:50:04 -0800
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)