octavia/octavia
Bertrand Lallau 76e1e02e15 Removes the use of mutables as default args
Passing mutable objects as default args is a known Python pitfall.
We'd better avoid this. This commit changes mutable default args with
None, then use 'arg = arg or {}', 'arg = arg or []'. For unit code which
doesn't use the args , just set with None. This commit also adds hacking
check.

Change-Id: Ib4f195c9c00ca2c49579f9d62648bff7c8109fcf
Closes-Bug: #1327473
2015-11-09 09:42:32 +01:00
..
amphorae Merge "Stop checking if listener exists when uploading cert" 2015-11-04 12:54:30 +00:00
api Improve logging in octavia.api 2015-10-02 11:19:08 +00:00
certificates Improve logging in octavia.certificates 2015-10-02 09:21:52 +00:00
cmd Improve logging in octavia.cmd 2015-10-02 10:13:41 +00:00
common Removes the use of mutables as default args 2015-11-09 09:42:32 +01:00
compute Change amphora_id to compute_id in compute drivers 2015-10-03 15:28:32 -05:00
controller Launch consumer without calling oslo messaging wait 2015-11-05 21:27:01 -06:00
db Fix issues uncovered by neutron lbaas tempest tests 2015-09-15 18:02:40 -05:00
hacking Removes the use of mutables as default args 2015-11-09 09:42:32 +01:00
network Merge "Improve logging in octavia.network" 2015-10-02 21:46:34 +00:00
tests Removes the use of mutables as default args 2015-11-09 09:42:32 +01:00
__init__.py Adding Python 3.4 Compatibility and Tox Check 2015-06-23 18:18:17 +00:00
i18n.py Drop use of 'oslo' namespace package 2015-06-17 15:57:42 +00:00
opts.py Add health_manager config options 2015-09-13 22:15:16 +02:00
version.py Initial directory skeleton 2014-09-04 15:28:10 -06:00