Comment 2 for bug 1655784

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gluon (master)

Submitter: Jenkins
Branch: master

commit 6e34beb89a98aa58ec61bd4c89ae9a3dabd70f8f
Author: Jin Li <email address hidden>
Date: Wed Jan 11 15:53:28 2017 -0800

    Catch the right type of exceptions

    The function get_table_class() catches the ValueError exception.
    Change it to catch TypeError and KeyError because these two are
    the only possible exceptions threw inside the function.

    test case of this change is covered in:

    Change-Id: I4b28d9bcee1dcff9f91b3535ea8dc07750e28abb
    Closes-Bug: #1655784