From: Assaf Muller Date: Fri, 20 Feb 2015 00:20:45 +0000 (-0500) Subject: Enable pylint no-value-for-parameter X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d7d4f1f96d31ce1890c8db7e8d2f371bce39fff3;p=openstack-build%2Fneutron-build.git Enable pylint no-value-for-parameter Change-Id: I532dc0c8f0f9f8c92b47a51138d5162bc506016b --- diff --git a/.pylintrc b/.pylintrc index a44dd1e3b..23acf2095 100644 --- 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, diff --git a/neutron/plugins/ml2/drivers/cisco/apic/apic_sync.py b/neutron/plugins/ml2/drivers/cisco/apic/apic_sync.py index 83735aae3..b72cd6b8e 100644 --- a/neutron/plugins/ml2/drivers/cisco/apic/apic_sync.py +++ b/neutron/plugins/ml2/drivers/cisco/apic/apic_sync.py @@ -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: diff --git a/neutron/wsgi.py b/neutron/wsgi.py index d8440f103..6723a135a 100644 --- a/neutron/wsgi.py +++ b/neutron/wsgi.py @@ -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.