Enable pylint no-value-for-parameter

Change-Id: I532dc0c8f0f9f8c92b47a51138d5162bc506016b
This commit is contained in:
Assaf Muller 2015-02-19 19:20:45 -05:00
parent 2eadd37829
commit d7d4f1f96d
3 changed files with 2 additions and 7 deletions

View File

@ -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,

View 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:

View 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.