Author: bugman Date: Sun May 13 11:46:01 2012 New Revision: 16263 URL: http://svn.gna.org/viewcvs/relax?rev=16263&view=rev Log: Fix for two of the arg_check.is_*() fns - the individual elements were incorrectly checked. Modified: branches/uf_redesign/arg_check.py Modified: branches/uf_redesign/arg_check.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/arg_check.py?rev=16263&r1=16262&r2=16263&view=diff ============================================================================== --- branches/uf_redesign/arg_check.py (original) +++ branches/uf_redesign/arg_check.py Sun May 13 11:46:01 2012 @@ -967,7 +967,7 @@ # Check the arguments. for i in range(len(arg)): - if not (is_str(arg, raise_error=False) or is_num(arg, raise_error=False)): + if not (is_str(arg[i], raise_error=False) or is_num(arg[i], raise_error=False)): fail = True # Fail. @@ -1223,7 +1223,7 @@ # Check the arguments. for i in range(len(arg)): # Check for all types of value. - if not (is_bool(arg, raise_error=False) or is_str(arg, raise_error=False) or is_num(arg, raise_error=False)): + if not (is_bool(arg[i], raise_error=False) or is_str(arg[i], raise_error=False) or is_num(arg[i], raise_error=False)): fail = True # Fail.