]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
No need to declare the exception conf
authorWalter A. Boring IV <walter.boring@hp.com>
Wed, 14 Aug 2013 20:56:09 +0000 (13:56 -0700)
committerWalter A. Boring IV <walter.boring@hp.com>
Wed, 14 Aug 2013 20:56:09 +0000 (13:56 -0700)
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

index 5f96435e0784496b82c0388c354573bff634bf70..74ad7a836ccf57f4b7db4f2d4659b0298bdbbbbe 100644 (file)
@@ -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):