Comment 1 for bug 1265590

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

Reviewed: https://review.openstack.org/64715
Committed: https://git.openstack.org/cgit/stackforge/wsme/commit/?id=228bfbd084ff2c4653740696d26ed10748aaa33c
Submitter: Jenkins
Branch: master

commit 228bfbd084ff2c4653740696d26ed10748aaa33c
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Jan 2 19:25:45 2014 +0000

    args_from_args() to work with an instance of UserType

    When the args_from_args() function fails to convert a value to a certain
    type it tries to get the name of that type by using the __name__ attribute
    of that type, UserType object instances doesn't have the __name__
    attribute so the function fails when it tries to access it, this patch
    makes WSME to check if it's an UserType instance before getting it's name.

    Change-Id: If78ce0e642997421c97559cc28604421f5c03922
    Closes-Bug: #1265590