deb-sahara/sahara
Javeme 3cb08bc52b Ensure default arguments are not mutable
* add hacking check: no_mutable_default_args()
* remove the mutable default arguments "[]" or "{}" when the function
  is defined.

ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Closes-Bug: #1530282
Change-Id: Ice6f7654211b73d7f8bc3ca0e4dfae3dca354397
2015-12-31 15:56:11 +08:00
..
api Stop using unicode builtin 2015-12-23 17:17:18 +03:00
cli Remove she-bang from sahara CLI modules 2015-12-23 17:38:08 +03:00
conductor Initial key manager implementation 2015-12-22 15:07:12 -05:00
db Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
locale Remove README in sahara/locale 2015-08-13 16:16:21 +10:00
openstack Remove openstack.common package 2015-07-20 21:24:22 +00:00
plugins Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
service Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
swift Optimize "open" method with context manager 2015-11-27 04:23:12 -05:00
tests Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
topology Adding retry ability to novaclient calls 2015-05-16 11:34:06 +00:00
utils Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
config.py Initial key manager implementation 2015-12-22 15:07:12 -05:00
context.py Add ability to get auth token from auth plugin 2015-12-10 22:42:36 +00:00
exceptions.py rewrite heat client calls 2015-12-07 14:14:43 +03:00
i18n.py Using oslo_* instead of oslo.* 2015-02-04 13:19:28 +03:00
main.py Initial key manager implementation 2015-12-22 15:07:12 -05:00
version.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00