From: Walter A. Boring IV Date: Wed, 14 Aug 2013 20:56:09 +0000 (-0700) Subject: No need to declare the exception conf X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=df9c4058f2674968a2f56d04597f5cb2bcc728cd;p=openstack-build%2Fcinder-build.git No need to declare the exception conf Brick can just assume that the conf entry exists in each project that will use brick. Cinder and Nova already declare the same exact conf entry. Change-Id: I4e0e11ce6f99a663a75e582ead92ac9d61300032 --- diff --git a/cinder/brick/exception.py b/cinder/brick/exception.py index 5f96435e0..74ad7a836 100644 --- a/cinder/brick/exception.py +++ b/cinder/brick/exception.py @@ -26,14 +26,7 @@ from cinder.openstack.common import log as logging LOG = logging.getLogger(__name__) -exc_log_opts = [ - cfg.BoolOpt('fatal_exception_format_errors', - default=False, - help='make exception message format errors fatal'), -] - CONF = cfg.CONF -CONF.register_opts(exc_log_opts) class BrickException(Exception):