From 74eb0b9a9a685a32be21db30f097a22ddf3ec4cf Mon Sep 17 00:00:00 2001
From: Tim O'Shea <tim.oshea753@gmail.com>
Date: Mon, 8 Jul 2013 10:29:19 -0400
Subject: grc: Fix whitespace issue in grc to use proper spaces

Remove all \t's to match the rest of GNU Radio
---
 grc/gui/Messages.py | 84 ++++++++++++++++++++++++++---------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

(limited to 'grc/gui/Messages.py')

diff --git a/grc/gui/Messages.py b/grc/gui/Messages.py
index a9f0e36b85..d903e40a45 100644
--- a/grc/gui/Messages.py
+++ b/grc/gui/Messages.py
@@ -24,22 +24,22 @@ import sys
 MESSENGERS_LIST = list()
 
 def register_messenger(messenger):
-	"""
-	Append the given messenger to the list of messengers.
-	
-	Args:
-	    messenger: a method thats takes a string
-	"""
-	MESSENGERS_LIST.append(messenger)
+    """
+    Append the given messenger to the list of messengers.
+    
+    Args:
+        messenger: a method thats takes a string
+    """
+    MESSENGERS_LIST.append(messenger)
 
 def send(message):
-	"""
-	Give the message to each of the messengers.
-	
-	Args:
-	    message: a message string
-	"""
-	for messenger in MESSENGERS_LIST: messenger(message)
+    """
+    Give the message to each of the messengers.
+    
+    Args:
+        message: a message string
+    """
+    for messenger in MESSENGERS_LIST: messenger(message)
 
 #register stdout by default
 register_messenger(sys.stdout.write)
@@ -48,61 +48,61 @@ register_messenger(sys.stdout.write)
 # Special functions for specific program functionalities
 ###########################################################################
 def send_init(platform):
-	send("""<<< Welcome to %s %s >>>\n"""%(platform.get_name(), platform.get_version()))
+    send("""<<< Welcome to %s %s >>>\n"""%(platform.get_name(), platform.get_version()))
 
 def send_page_switch(file_path):
-	send('\nShowing: "%s"\n'%file_path)
+    send('\nShowing: "%s"\n'%file_path)
 
-################# functions for loading flow graphs	########################################
+################# functions for loading flow graphs ########################################
 def send_start_load(file_path):
-	send('\nLoading: "%s"'%file_path + '\n')
+    send('\nLoading: "%s"'%file_path + '\n')
 
 def send_error_load(error):
-	send('>>> Error: %s\n'%error)
-	traceback.print_exc()
+    send('>>> Error: %s\n'%error)
+    traceback.print_exc()
 
 def send_end_load():
-	send('>>> Done\n')
+    send('>>> Done\n')
 
 def send_fail_load(error):
-	send('Error: %s\n'%error)
-	send('>>> Failure\n')
-	traceback.print_exc()
+    send('Error: %s\n'%error)
+    send('>>> Failure\n')
+    traceback.print_exc()
 
-################# functions for generating flow graphs	########################################
+################# functions for generating flow graphs  ########################################
 def send_start_gen(file_path):
-	send('\nGenerating: "%s"'%file_path + '\n')
+    send('\nGenerating: "%s"'%file_path + '\n')
 
 def send_fail_gen(error):
-	send('Generate Error: %s\n'%error)
-	send('>>> Failure\n')
-	traceback.print_exc()
+    send('Generate Error: %s\n'%error)
+    send('>>> Failure\n')
+    traceback.print_exc()
 
-################# functions for executing flow graphs	########################################
+################# functions for executing flow graphs   ########################################
 def send_start_exec(file_path):
-	send('\nExecuting: "%s"'%file_path + '\n')
+    send('\nExecuting: "%s"'%file_path + '\n')
 
 def send_verbose_exec(verbose):
-	send(verbose)
+    send(verbose)
 
 def send_end_exec():
-	send('\n>>> Done\n')
+    send('\n>>> Done\n')
 
-################# functions for saving flow graphs	########################################
+################# functions for saving flow graphs  ########################################
 def send_fail_save(file_path):
-	send('>>> Error: Cannot save: %s\n'%file_path)
+    send('>>> Error: Cannot save: %s\n'%file_path)
 
-################# functions for connections	########################################
+################# functions for connections ########################################
 def send_fail_connection():
-	send('>>> Error: Cannot create connection.\n')
+    send('>>> Error: Cannot create connection.\n')
 
-################# functions for preferences	########################################
+################# functions for preferences ########################################
 def send_fail_load_preferences(prefs_file_path):
-	send('>>> Error: Cannot load preferences file: "%s"\n'%prefs_file_path)
+    send('>>> Error: Cannot load preferences file: "%s"\n'%prefs_file_path)
 
 def send_fail_save_preferences(prefs_file_path):
-	send('>>> Error: Cannot save preferences file: "%s"\n'%prefs_file_path)
+    send('>>> Error: Cannot save preferences file: "%s"\n'%prefs_file_path)
 
-################# functions for warning	########################################
+################# functions for warning ########################################
 def send_warning(warning):
-	send('>>> Warning: %s\n'%warning)
+    send('>>> Warning: %s\n'%warning)
-- 
cgit v1.2.3