[Erp5-report] r9633 - /erp5/trunk/utils/erp5mechanize/smartRun.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 4 13:27:45 CEST 2006
Author: vincent
Date: Mon Sep 4 13:27:44 2006
New Revision: 9633
URL: http://svn.erp5.org?rev=9633&view=rev
Log:
Last bound of xrange is never reached, so increment it.
Modified:
erp5/trunk/utils/erp5mechanize/smartRun.py
Modified: erp5/trunk/utils/erp5mechanize/smartRun.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/smartRun.py?rev=9633&r1=9632&r2=9633&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/smartRun.py (original)
+++ erp5/trunk/utils/erp5mechanize/smartRun.py Mon Sep 4 13:27:44 2006
@@ -116,7 +116,7 @@
fd, sresultpath = tempfile.mkstemp()
os.close(fd)
-for current_zopecount in xrange(min_zope, max_zope):
+for current_zopecount in xrange(min_zope, max_zope + 1):
if usercount < current_zopecount:
print 'Less successfull users than zope to test, aborting.'
break
More information about the Erp5-report
mailing list