horizon/openstack_dashboard/management/commands
Akihiro Motoki e5d09edc20 Use python3-style super()
In python3, super() does not always require a class and self reference.
In other words, super() is enough for most cases.
This is much simpler and it is time to switch it to the newer style.

pylint provides a check for this.
Let's enable 'super-with-arguments' check.

NOTE: _prepare_mappings() method of FormRegion in
openstack_dashboard/test/integration_tests/regions/forms.py is refactored.
super() (without explicit class and self referece) does not work when
a subclass method calls a same method in a parent class multiple times.
It looks better to prepare a separate method to provide a common logic.

Change-Id: Id9512a14be9f20dbd5ebd63d446570c7b7c825ff
2020-10-15 14:37:20 +09:00
..
__init__.py Created a make_web_conf command. 2014-04-03 17:34:32 +02:00
apache_vhost.conf.template Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration 2017-08-04 14:52:43 +02:00
cleanup_angular_template_cache.py Fix django-compress caching issues 2020-06-15 17:33:16 +03:00
extract_messages.py pylint: fix import-error 2019-01-16 00:00:58 +09:00
horizon.wsgi.template Remove six usage from openstack_dashboard package 2020-01-15 12:47:48 +02:00
make_web_conf.py pylint: Address no-else-return warning 2020-09-27 12:44:16 +09:00
migrate_settings.py Use python3-style super() 2020-10-15 14:37:20 +09:00
update_catalog.py extract_messages, update_catalog: Simplify help message 2017-08-29 12:35:30 +00:00
upgrade_check.py Stop to use the __future__ module. 2020-06-03 10:45:18 +02:00