mailr16253 - /branches/uf_redesign/prompt/objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 11, 2012 - 21:13:
Author: bugman
Date: Fri May 11 21:13:28 2012
New Revision: 16253

URL: http://svn.gna.org/viewcvs/relax?rev=16253&view=rev
Log:
Fix for the prompt/script UI modes for the user function arg check of an int 
list.

The wrong function in the arg_check module was being used.


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=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- branches/uf_redesign/prompt/objects.py (original)
+++ branches/uf_redesign/prompt/objects.py Fri May 11 21:13:28 2012
@@ -143,7 +143,7 @@
             elif py_type == 'int':
                 arg_check.is_int(value, desc_short, can_be_none=can_be_none)
             elif py_type == 'int_list':
-                arg_check.is_int(value, desc_short, size=dim, 
can_be_none=can_be_none)
+                arg_check.is_int_list(value, desc_short, size=dim, 
can_be_none=can_be_none)
             elif py_type == 'int_or_int_list':
                 arg_check.is_int_or_int_list(value, desc_short, size=dim, 
can_be_none=can_be_none, can_be_empty=can_be_empty, 
none_elements=none_elements)
             elif py_type == 'list':




Related Messages


Powered by MHonArc, Updated Sat May 12 11:20:02 2012