[Erp5-report] r8417 - /erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jul 11 19:40:58 CEST 2006


Author: vincent
Date: Tue Jul 11 19:40:53 2006
New Revision: 8417

URL: http://svn.erp5.org?rev=8417&view=rev
Log:
Correct a copy-paste problem.

Modified:
    erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py

Modified: erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py?rev=8417&r1=8416&r2=8417&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py (original)
+++ erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py Tue Jul 11 19:40:53 2006
@@ -373,7 +373,7 @@
     for cell_pos in xrange(len(column_list)):
       for child in column_list[cell_pos].childNodes:
         if (child.nodeType == child.TEXT_NODE) and strict and (value == child.wholeText) or (value in child.wholeText):
-          return line_pos
+          return cell_pos
     return None
 
 class TimeResult:




More information about the Erp5-report mailing list