summaryrefslogtreecommitdiffstats
path: root/openstack/common
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-02-02 23:25:53 +0000
committerMark McLoughlin <markmc@redhat.com>2012-02-02 23:27:27 +0000
commitd383f78f8ca27eaf982d150fd8c955f8bd451690 (patch)
tree161548022f15e27fb3b35a05b98960e42791b44e /openstack/common
parent8441babf22a597de4a526ec11538cb0c6b503646 (diff)
downloadoslo-d383f78f8ca27eaf982d150fd8c955f8bd451690.tar.gz
oslo-d383f78f8ca27eaf982d150fd8c955f8bd451690.tar.xz
oslo-d383f78f8ca27eaf982d150fd8c955f8bd451690.zip
Makes common/cfg.py raise AttributeError
* fixes bug 915039 * includes test Change-Id: I67b886be3b5af3763f52fffe54085975d61d61eb
Diffstat (limited to 'openstack/common')
-rw-r--r--openstack/common/cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py
index c8c6a52..34d5e6f 100644
--- a/openstack/common/cfg.py
+++ b/openstack/common/cfg.py
@@ -240,7 +240,7 @@ class ArgsAlreadyParsedError(Error):
return ret
-class NoSuchOptError(Error):
+class NoSuchOptError(Error, AttributeError):
"""Raised if an opt which doesn't exist is referenced."""
def __init__(self, opt_name, group=None):