From 07e2dbd83b3f46aae293837cd5866f42d349f5bd Mon Sep 17 00:00:00 2001 From: jinxingfang Date: Thu, 8 Mar 2018 09:53:38 +0800 Subject: [PATCH] Remove useless variable The headers variable is not used in this function, remove it. Change-Id: If63f40ed389c08f5c9a16adfe0b596ef092bcf43 --- ironic/common/exception.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ironic/common/exception.py b/ironic/common/exception.py index 8cbc15b8ca..aac4795b22 100644 --- a/ironic/common/exception.py +++ b/ironic/common/exception.py @@ -92,7 +92,6 @@ class IronicException(Exception): """ _msg_fmt = _("An unknown exception occurred.") code = http_client.INTERNAL_SERVER_ERROR - headers = {} safe = False def __init__(self, message=None, **kwargs):