neutron/neutron/agent
Cedric Brandily c9974b9269 Fix pylint unbalanced-tuple-unpacking warning
Pylint last version(1.4.1), at least, reports an
unbalanced-tuple-unpacking warning[1] in keepalived[2] module because
self.authentication is defined as an empty tuple in __init__ method and
unpacked in build_config method as if it was a 2-tuple.

self.authentication references an empty tuple (defined in __init__
method) or a 2-tuple (updated in set_authentication method). Such
warning is a false positive because the unpacking is only performed if
self.authentication is not evaluated to false which only appends if
self.authentication is a 2-tuple.

Defining self.authentication as None in __init__ avoids such warning
without disabling unbalanced-tuple-unpacking warning check.

[1]
W:252,12: Possible unbalanced tuple unpacking with sequence defined at
line 153: left side has 2 label(s), right side has 0 value(s)
(unbalanced-tuple-unpacking)

[2] neutron.agent.linux.keepalived

Change-Id: Ifcdf08e574ef44a65c6d121323cbe31d9af2f921
Closes-Bug: #1411865
2015-01-18 11:37:43 +00:00
..
common Option for root_helper when checking namespace 2014-12-17 06:54:30 -08:00
l3 Refactor the _get_external_device_interface_name method 2015-01-16 00:58:14 +00:00
linux Fix pylint unbalanced-tuple-unpacking warning 2015-01-18 11:37:43 +00:00
metadata Merge "Move metadata agent entry to its own file" 2015-01-11 17:48:22 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
dhcp_agent.py Provide doc string pointers for the dhcp agent rpc api 2015-01-09 11:21:01 -05:00
firewall.py Add missing methods to NoopFirewallDriver 2014-09-28 22:16:57 +04:00
l2population_rpc.py Merge "Refactor l2_pop code to pass mac/ip info more readably" 2014-11-21 09:32:09 +00:00
l3_agent.py Break out config and entry point out of l3/agent file 2015-01-08 19:19:14 -08:00
metadata_agent.py Move metadata agent entry to its own file 2015-01-09 19:49:45 -08:00
rpc.py Fix AttributeError during startup of ovs agent in DVR mode 2014-12-08 19:58:12 +00:00
securitygroups_rpc.py Fix topic for provider security group update 2015-01-13 08:09:58 -08:00