From 674ed6e1dc4690f1b6dd0fb1b4059b1675cdd01a Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Wed, 1 Apr 2009 06:42:59 -0700 Subject: [PATCH] Update scanning_thread() debug messages in light of new logging model Signed-off-by: Sean Robinson --- wifi-radar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifi-radar b/wifi-radar index 50f5916..4dd4963 100755 --- a/wifi-radar +++ b/wifi-radar @@ -223,7 +223,7 @@ def scanning_thread( confFile, apQueue, commandQueue, logger ): while True: try: command = commandQueue.get_nowait() - logger.debug("scanning_thread received command: %s" % (command)) + logger.debug("received command: %s" % ( command, )) command_read = True except Queue.Empty: command_read = False @@ -269,7 +269,7 @@ def scanning_thread( confFile, apQueue, commandQueue, logger ): except Queue.Full: pass elif command == "exit": - logger.debug("Exiting scanning_thread") + logger.debug("Exiting") return if command_read: commandQueue.task_done() if confFile.get_opt('DEFAULT.interface').find('ath') == 0: -- 2.11.4.GIT