From 7656d33c520f5a58b1e90fadc4634b9e3e97744f Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 26 Oct 2013 21:20:05 +0200 Subject: [PATCH] while loop fix in linspector; thanks ruff!!! --- bin/linspector | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/linspector b/bin/linspector index fe96394..ca3b12c 100755 --- a/bin/linspector +++ b/bin/linspector @@ -113,11 +113,8 @@ def main(): linspector.daemon = True linspector.start() - while True: - if q.qsize() < 1: - time.sleep(1) - else: - break + while q.qsize() < 1: + time.sleep(1) interface = LinspectorInterface(q.get(), scheduler, linConf)