mailr9366 - /1.3/prompt/check.py


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

Header


Content

Posted by edward on August 21, 2009 - 19:53:
Author: bugman
Date: Fri Aug 21 19:53:26 2009
New Revision: 9366

URL: http://svn.gna.org/viewcvs/relax?rev=9366&view=rev
Log:
Bug fix for the is_str_list() function.


Modified:
    1.3/prompt/check.py

Modified: 1.3/prompt/check.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/check.py?rev=9366&r1=9365&r2=9366&view=diff
==============================================================================
--- 1.3/prompt/check.py (original)
+++ 1.3/prompt/check.py Fri Aug 21 19:53:26 2009
@@ -249,7 +249,7 @@
             raise RelaxListStrError(name, arg)
 
     # Fail if not strings.
-    for i in range(len(params)):
+    for i in range(len(arg)):
         if not isinstance(arg[i], str):
             if can_be_none:
                 raise RelaxNoneListStrError(name, arg)




Related Messages


Powered by MHonArc, Updated Fri Aug 21 20:00:02 2009