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.
Reviewed: https:/ /review. openstack. org/64715 /git.openstack. org/cgit/ stackforge/ wsme/commit/ ?id=228bfbd084f f2c4653740696d2 6ed10748aaa33c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 228bfbd084ff2c4 653740696d26ed1 0748aaa33c
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: If78ce0e6429974 21c97559cc28604 421f5c03922
Closes-Bug: #1265590