]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove useless pass from methods in type_tunnel.py
authorRomil Gupta <romilg@hp.com>
Wed, 10 Jun 2015 16:43:56 +0000 (09:43 -0700)
committerRomil Gupta <romilg@hp.com>
Wed, 10 Jun 2015 17:20:24 +0000 (17:20 +0000)
The pass is useless because there is a docstring in the methods.
Generally considered as uncovered by coverage tool.

Change-Id: Id1275c51e9adb865a3da9f0db007f3092b55b140

neutron/plugins/ml2/drivers/type_tunnel.py

index 12dce86f48fd42e262fddf41e68bae18cef8609f..02025cb65a36e86d876d04ad8044a97688f5e9ac 100644 (file)
@@ -53,7 +53,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
         param ip: the IP address of the endpoint
         param host: the Host name of the endpoint
         """
-        pass
 
     @abc.abstractmethod
     def get_endpoints(self):
@@ -62,7 +61,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
         :returns a list of dict [{ip_address:endpoint_ip, host:endpoint_host},
         ..]
         """
-        pass
 
     @abc.abstractmethod
     def get_endpoint_by_host(self, host):
@@ -75,7 +73,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
         else
            :returns None
         """
-        pass
 
     @abc.abstractmethod
     def get_endpoint_by_ip(self, ip):
@@ -88,7 +85,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
         else
            :returns None
         """
-        pass
 
     @abc.abstractmethod
     def delete_endpoint(self, ip):
@@ -96,7 +92,6 @@ class TunnelTypeDriver(helpers.SegmentTypeDriver):
 
         param ip: the IP address of the endpoint
         """
-        pass
 
     def _initialize(self, raw_tunnel_ranges):
         self.tunnel_ranges = []