[Checkins] SVN: gocept.selenium/trunk/ - The ``pause`` method uses float division now. Pauses where implicitly rounded
Christian Zagrodnick
cz at gocept.com
Thu Aug 5 08:34:18 EDT 2010
Log message for revision 115493:
- The ``pause`` method uses float division now. Pauses where implicitly rounded
to full seconds before when an int was passed.
Changed:
U gocept.selenium/trunk/CHANGES.txt
U gocept.selenium/trunk/src/gocept/selenium/selenese.py
-=-
Modified: gocept.selenium/trunk/CHANGES.txt
===================================================================
--- gocept.selenium/trunk/CHANGES.txt 2010-08-05 10:11:07 UTC (rev 115492)
+++ gocept.selenium/trunk/CHANGES.txt 2010-08-05 12:34:18 UTC (rev 115493)
@@ -10,7 +10,10 @@
- API expansion: add ``runScript``.
+- The ``pause`` method uses float division now. Pauses where implicitly rounded
+ to full seconds before when an int was passed.
+
0.5 (2010-08-03)
----------------
Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-08-05 10:11:07 UTC (rev 115492)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-08-05 12:34:18 UTC (rev 115493)
@@ -59,7 +59,7 @@
# Actions
def pause(self, milliseconds):
- time.sleep(milliseconds / 1000)
+ time.sleep(milliseconds / 1000.0)
def setTimeout(self, timeout):
self.timeout = timeout / 1000.0
More information about the checkins
mailing list