From b85b15e6e5a6a4cca2e83adb958a70598c86de58 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Mon, 12 May 2008 19:48:17 +0200 Subject: [PATCH] Fast test first --- gsh/remote_dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py index 96d688b..64ce139 100644 --- a/gsh/remote_dispatcher.py +++ b/gsh/remote_dispatcher.py @@ -178,7 +178,7 @@ class remote_dispatcher(buffered_dispatcher): def handle_read_fast_case(self, data): """If we are in a fast case we'll avoid the long processing of each line""" - if callbacks.any_in(data) or self.state is not STATE_RUNNING: + if self.state is not STATE_RUNNING or callbacks.any_in(data): # Slow case :-( return False -- 2.11.4.GIT