nova/nova/api/openstack
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
..
compute Merge "Check the length of aggregate metadata" 2014-06-17 22:49:45 +00:00
__init__.py Add missing translation support 2014-06-02 22:18:05 -07:00
auth.py Remove vi modelines 2014-02-03 14:19:44 +00:00
common.py Merge "Include next link when default limit is reached" 2014-04-02 23:09:46 +00:00
extensions.py Fix a wrong comment in the code 2014-06-06 13:23:10 +00:00
urlmap.py Remove vi modelines 2014-02-03 14:19:44 +00:00
wsgi.py Code Improvement 2014-05-07 16:27:28 +00:00
xmlutil.py Removes the use of mutables as default args 2014-06-18 12:59:02 +08:00