Ask Your Question

Exception tuples

asked 2013-10-10 09:04:40 -0600

Hi! I have a question about the openstack_dashboard exceptions. (

Why you guys store it in a tuple format and not in a list? It will be easier to configure outer clients exceptions in horizon settings Thanks in advance, Kate

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-10-11 07:58:42 -0600

Ok, thank you

edit flag offensive delete link more

answered 2013-10-11 07:13:21 -0600

lin-hua-cheng gravatar image

issubclass is used for mapping horizon exception to the python-client excetion.

The argument classinfo in the method issubclass(class, classinfo) expects a tuple. (

I think it was used since it was the straight-forward approach.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-10 09:04:40 -0600

Seen: 66 times

Last updated: Oct 11 '13