]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
modified __getattr__ for FakeNamespace so that it raises AttributeError on a missing...
authorAndrew Schoen <aschoen@redhat.com>
Tue, 2 Dec 2014 21:27:09 +0000 (15:27 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Sat, 6 Dec 2014 19:46:47 +0000 (13:46 -0600)
commit0cf22e08496327830f978c940495547bafabbea8
treee9cf8e7411d67d39522e915b99bc12ebc50384c1
parentc38855579f7f41551049935798d991733143a5a9
modified __getattr__ for FakeNamespace so that it raises AttributeError on a missing attr.  This allows a FakeNamespace instance to work correctly with getattr(). Also removed .get() from YamlConfig as we decided it was unnecessary

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/config.py
teuthology/test/test_config.py