From a7af633dcc4633a85658da11066043e26c48495f Mon Sep 17 00:00:00 2001 From: Paul Michali Date: Wed, 7 Jan 2015 19:18:43 -0500 Subject: [PATCH] VPNaaS: Remove unneeded metaclass decorator The metaclass decorator was added to replace the older __metaclass__ line, but for the Cisco device driver, the class is not an ABC, and there are no child classes, unlike the reference implementation, which has a single abstract method. Change-Id: I264cdcde76606b7e639c8fa561c70bac32a868f6 Closes-Bug: 1408404 --- neutron_vpnaas/services/vpn/device_drivers/cisco_ipsec.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/neutron_vpnaas/services/vpn/device_drivers/cisco_ipsec.py b/neutron_vpnaas/services/vpn/device_drivers/cisco_ipsec.py index c7c6cf894..3bd78677c 100644 --- a/neutron_vpnaas/services/vpn/device_drivers/cisco_ipsec.py +++ b/neutron_vpnaas/services/vpn/device_drivers/cisco_ipsec.py @@ -12,13 +12,11 @@ # License for the specific language governing permissions and limitations # under the License. -import abc import collections import requests from oslo.config import cfg from oslo import messaging -import six from neutron.common import exceptions from neutron.common import rpc as n_rpc @@ -89,7 +87,6 @@ class CiscoCsrIPsecVpnDriverApi(object): return cctxt.call(context, 'update_status', status=status) -@six.add_metaclass(abc.ABCMeta) class CiscoCsrIPsecDriver(device_drivers.DeviceDriver): """Cisco CSR VPN Device Driver for IPSec.