Remove unused PolicyFileNotFound exception
I could not find any use of this exception in Neutron, nor in any other project. It has a bad message: the policy file name is hard coded. The policy file name is a config option so it could be anything. It should have been deleted with https://review.openstack.org/123673 Discovered while picking exceptions to move to neutron-lib. Change-Id: I4732d84186520be3286417579ee3e2528fcf53a3
This commit is contained in:
parent
87bddf4ff8
commit
9a4b7b8acf
|
@ -44,10 +44,6 @@ class NetworkQosBindingNotFound(e.NotFound):
|
|||
"could not be found.")
|
||||
|
||||
|
||||
class PolicyFileNotFound(e.NotFound):
|
||||
message = _("Policy configuration policy.json could not be found.")
|
||||
|
||||
|
||||
class PolicyInitError(e.NeutronException):
|
||||
message = _("Failed to init policy %(policy)s because %(reason)s.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue