Reviewed: https://review.openstack.org/97906 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e3bf9c40615237e7688ef6b570212fdd8899f8a8 Submitter: Jenkins Branch: master
commit e3bf9c40615237e7688ef6b570212fdd8899f8a8 Author: woodm1979 <email address hidden> Date: Wed Jun 4 14:10:29 2014 -0600
APIDictWrapper getitem lookups fail for non str
The APIDictWrapper class within openstack-dashboards/api/base.py can't handle the "in" operator correctly.
Also, it will fail if a non-string is passed into it's __getitem__ method. (Which is what is called from a dict lookup.)
The get method also fails on non-strings.
Change-Id: Iaad66d3c6deb81d0570b1a8c6ddf580024fa46e6 Closes-Bug: 1326512
Reviewed: https:/ /review. openstack. org/97906 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e3bf9c40615 237e7688ef6b570 212fdd8899f8a8
Committed: https:/
Submitter: Jenkins
Branch: master
commit e3bf9c40615237e 7688ef6b570212f dd8899f8a8
Author: woodm1979 <email address hidden>
Date: Wed Jun 4 14:10:29 2014 -0600
APIDictWrapper getitem lookups fail for non str
The APIDictWrapper class within openstack- dashboards/ api/base. py can't
handle the "in" operator correctly.
Also, it will fail if a non-string is passed into it's __getitem__
method. (Which is what is called from a dict lookup.)
The get method also fails on non-strings.
Change-Id: Iaad66d3c6deb81 d0570b1a8c6ddf5 80024fa46e6
Closes-Bug: 1326512