]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Enable pylint no-value-for-parameter
authorAssaf Muller <amuller@redhat.com>
Fri, 20 Feb 2015 00:20:45 +0000 (19:20 -0500)
committerAssaf Muller <amuller@redhat.com>
Fri, 20 Feb 2015 01:02:58 +0000 (20:02 -0500)
Change-Id: I532dc0c8f0f9f8c92b47a51138d5162bc506016b

.pylintrc
neutron/plugins/ml2/drivers/cisco/apic/apic_sync.py
neutron/wsgi.py

index a44dd1e3b6a4402893db4d852fef2e17f6323132..23acf2095f35dfbd612613ceef97f97011e972d3 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -22,7 +22,6 @@ disable=
  no-member,
  no-method-argument,
  no-self-argument,
- no-value-for-parameter,
 # "W" Warnings for stylistic problems or minor programming issues
  abstract-method,
  arguments-differ,
index 83735aae387f49c0825f25dcc596a8113a4d72ae..b72cd6b8e6f7d98f269ff071b668157e0914bcf9 100644 (file)
@@ -82,7 +82,8 @@ class ApicBaseSynchronizer(SynchronizerBase):
                                                            port['id'])
             network = self.core_plugin.get_network(ctx, port['network_id'])
             mech_context = driver_context.PortContext(self.core_plugin, ctx,
-                                                      port, network, binding)
+                                                      port, network, binding,
+                                                      [])
             try:
                 self.driver.create_port_postcommit(mech_context)
             except Exception:
index d8440f103bc0bb9385232a25a42dbf20f106ff6a..6723a135a349f4e1b5326008cd8127eb6714183a 100644 (file)
@@ -682,11 +682,6 @@ class Debug(Middleware):
 class Router(object):
     """WSGI middleware that maps incoming requests to WSGI apps."""
 
-    @classmethod
-    def factory(cls, global_config, **local_config):
-        """Return an instance of the WSGI Router class."""
-        return cls()
-
     def __init__(self, mapper):
         """Create a router for the given routes.Mapper.