Author: bugman Date: Sun May 13 11:30:44 2012 New Revision: 16261 URL: http://svn.gna.org/viewcvs/relax?rev=16261&view=rev Log: The prompt UI can now handle the user function arg type of 'val_or_list'. Modified: branches/uf_redesign/prompt/objects.py Modified: branches/uf_redesign/prompt/objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/objects.py?rev=16261&r1=16260&r2=16261&view=diff ============================================================================== --- branches/uf_redesign/prompt/objects.py (original) +++ branches/uf_redesign/prompt/objects.py Sun May 13 11:30:44 2012 @@ -174,6 +174,8 @@ arg_check.is_str_or_str_list(value, desc_short, size=dim, can_be_none=can_be_none, can_be_empty=can_be_empty) elif py_type == 'tuple': arg_check.is_tuple(value, desc_short, size=dim, can_be_none=can_be_none, can_be_empty=can_be_empty) + elif py_type == 'val_or_list': + arg_check.is_val_or_list(value, desc_short, size=dim, can_be_none=can_be_none, can_be_empty=can_be_empty) else: raise RelaxError("The Python object type '%s' is unknown." % py_type)