nova/nova/virt/libvirt
ChangBo Guo(gcb) 0bea84ac20 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.

Closes-Bug: #1327473
Change-Id: I5a8492bf8ffef8e000b13b6bdfaef1968b96f816
2014-06-18 12:59:02 +08:00
..
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Removes the use of mutables as default args 2014-06-18 12:59:02 +08:00
config.py Merge "libvirt: convert cpu features attribute from list to a set" 2014-06-16 21:28:16 +00:00
designer.py Remove vi modelines 2014-02-03 14:19:44 +00:00
dmcrypt.py maint: correct docstring parameter description 2014-06-06 19:30:53 +08:00
driver.py Merge "Save connection info in libvirt after volume connect" 2014-06-17 03:55:43 +00:00
firewall.py Merge "libvirt: Make nwfilter driver use right filterref" 2014-06-15 16:01:37 +00:00
imagebackend.py Remove deprecated config option names: Juno Edition 2014-04-17 15:35:59 -07:00
imagecache.py Merge "Remove deprecated config option names: Juno Edition" 2014-06-15 01:56:54 +00:00
utils.py Merge "Remove deprecated config option names: Juno Edition" 2014-06-15 01:56:54 +00:00
vif.py Merge "Remove deprecated config option names: Juno Edition" 2014-06-15 01:56:54 +00:00
volume.py Merge "Remove deprecated config option names: Juno Edition" 2014-06-15 01:56:54 +00:00