From 5bfda590d4eaf0d5d992ffa8531c048c31eec963 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Thu, 21 Mar 2019 21:45:49 +0000 Subject: [PATCH] Trivial: remove unused var from policies.base.py nova.policies.base.py define a var 'COMPUTE_API' which is not used anymore. This was only used in nova/api/openstack/compute/extension_info.py which has been removed in- I61d8063708731133177534888ba7f5f05a6bd901 Change-Id: I80abee523e58d47da9e55399b3d4ad06b6ccfd69 --- nova/policies/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nova/policies/base.py b/nova/policies/base.py index b6a009f5cc69..b833fcd1a6ef 100644 --- a/nova/policies/base.py +++ b/nova/policies/base.py @@ -12,8 +12,6 @@ from oslo_policy import policy -COMPUTE_API = 'os_compute_api' - RULE_ADMIN_OR_OWNER = 'rule:admin_or_owner' RULE_ADMIN_API = 'rule:admin_api' RULE_ANY = '@'