From df9c4058f2674968a2f56d04597f5cb2bcc728cd Mon Sep 17 00:00:00 2001 From: "Walter A. Boring IV" Date: Wed, 14 Aug 2013 13:56:09 -0700 Subject: [PATCH] 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 --- cinder/brick/exception.py | 7 ------- 1 file changed, 7 deletions(-) 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): -- 2.45.2