horizon/openstack_dashboard/api
Gábor Antal 84693cada5 Fix TypeError in api/neutron.py
In api/neutron.py [1], there is a logging, which throws a TypeError,
because the arguments of the format message is passed as a tuple,
which is not working when you pass the arguments to the logger,
instead of replacing in-place. In the current code, running the log
message leds to the following:

TypeError: not enough arguments for format string
Call stack:
  File "test.py", line 9, in <module>
    "router=%s", (router_id, router))
Message: 'router_static_route_list(): router_id=%s, router=%s'
Arguments: (('asd', 'asdf'),)

In this patchset, this bug is fixed.

[1]: https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/neutron.py#L1079

Change-Id: I233c435bb7ca89c6c8ecd49a66bccb5b59eedf41
Closes-Bug: #1659342
(cherry picked from commit 41ee8c0677)
2017-01-30 16:54:17 +00:00
..
rest Add missing scheduler_hints to _optional_create 2017-01-16 15:43:42 +00:00
__init__.py Moving Trove to contrib 2015-08-05 23:07:47 -07:00
base.py Fix network duplication check logic 2016-02-12 16:58:00 +00:00
ceilometer.py Merge "Delete some deprecated codes" 2016-02-06 06:29:38 +00:00
cinder.py Autogenerate container name correctly for vol backup 2017-01-24 12:33:19 +00:00
fwaas.py Replace SortedDict with OrderedDict 2015-09-04 18:39:15 +00:00
glance.py Support for Glance v2 2016-09-12 11:16:33 -07:00
heat.py Delete the useless API of heat 2016-07-15 22:46:11 +08:00
keystone.py "Unable to retrieve Domain" incessant warning logs 2016-11-08 09:54:05 +00:00
lbaas.py Fix Load Balancer table Subnet row displays CIDR 2015-09-16 18:35:27 +08:00
network.py Add floating IP panel to admin dashboard 2016-08-19 12:15:55 +08:00
network_base.py Add floating IP panel to admin dashboard 2016-08-19 12:15:55 +08:00
neutron.py Fix TypeError in api/neutron.py 2017-01-30 16:54:17 +00:00
nova.py Strip leading or trailing spaces from Instance names during update and create 2016-11-14 07:37:54 +00:00
swift.py Implement file update (edit) in Swift UI 2016-08-22 14:47:23 +10:00
vpn.py Replace SortedDict with OrderedDict 2015-09-04 18:39:15 +00:00