Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/6826e5d612848a6c94b73d9d1cc54250ee0f17b5
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/6826e5d612848a6c94b73d9d1cc54250ee0f17b5
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/6826e5d612848a6c94b73d9d1cc54250ee0f17b5

The branch, master has been updated
       via  6826e5d612848a6c94b73d9d1cc54250ee0f17b5 (commit)
      from  41ecb495d0d27e2911a08c52330d1e58483c345c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=6826e5d612848a6c94b73d9d1cc54250ee0f17b5
commit 6826e5d612848a6c94b73d9d1cc54250ee0f17b5
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    monkeyfarmer: Make polling even more robust
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index a26e28d..dcc3217 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -148,10 +148,10 @@ class MonkeyFarmer(asyncore.dispatcher):
                 asyncore.loop(timeout=next_event - now, count=1)
             else:
                 asyncore.loop(count=1)
-            if len(self.lines) > 0:
+            while len(self.lines) > 0:
                 self.monkey_says(self.lines.pop(0))
-            if once:
-                break
+                if once or self.deadmonkey:
+                    return
 
 
 class Browser:


-----------------------------------------------------------------------

Summary of changes:
 test/monkeyfarmer.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index a26e28d..dcc3217 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -148,10 +148,10 @@ class MonkeyFarmer(asyncore.dispatcher):
                 asyncore.loop(timeout=next_event - now, count=1)
             else:
                 asyncore.loop(count=1)
-            if len(self.lines) > 0:
+            while len(self.lines) > 0:
                 self.monkey_says(self.lines.pop(0))
-            if once:
-                break
+                if once or self.deadmonkey:
+                    return
 
 
 class Browser:


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to