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/base/Element.py | 132 ++++++++++++++++++++++++++--------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

(limited to 'grc/base/Element.py')

diff --git a/grc/base/Element.py b/grc/base/Element.py
index 74097eea9a..17b2234a8c 100644
--- a/grc/base/Element.py
+++ b/grc/base/Element.py
@@ -19,77 +19,77 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
 class Element(object):
 
-	def __init__(self, parent=None):
-		self._parent = parent
+    def __init__(self, parent=None):
+        self._parent = parent
 
-	##################################################
-	# Element Validation API
-	##################################################
-	def validate(self):
-		"""
-		Validate this element and call validate on all children.
-		Call this base method before adding error messages in the subclass.
-		"""
-		self._error_messages = list()
-		for child in self.get_children(): child.validate()
+    ##################################################
+    # Element Validation API
+    ##################################################
+    def validate(self):
+        """
+        Validate this element and call validate on all children.
+        Call this base method before adding error messages in the subclass.
+        """
+        self._error_messages = list()
+        for child in self.get_children(): child.validate()
 
-	def is_valid(self):
-		"""
-		Is this element valid?
-		
-		Returns:
-		    true when the element is enabled and has no error messages
-		"""
-		return not self.get_error_messages() or not self.get_enabled()
+    def is_valid(self):
+        """
+        Is this element valid?
+        
+        Returns:
+            true when the element is enabled and has no error messages
+        """
+        return not self.get_error_messages() or not self.get_enabled()
 
-	def add_error_message(self, msg):
-		"""
-		Add an error message to the list of errors.
-		
-		Args:
-		    msg: the error message string
-		"""
-		self._error_messages.append(msg)
+    def add_error_message(self, msg):
+        """
+        Add an error message to the list of errors.
+        
+        Args:
+            msg: the error message string
+        """
+        self._error_messages.append(msg)
 
-	def get_error_messages(self):
-		"""
-		Get the list of error messages from this element and all of its children.
-		Do not include the error messages from disabled children.
-		Cleverly indent the children error messages for printing purposes.
-		
-		Returns:
-		    a list of error message strings
-		"""
-		error_messages = list(self._error_messages) #make a copy
-		for child in filter(lambda c: c.get_enabled(), self.get_children()):
-			for msg in child.get_error_messages():
-				error_messages.append("%s:\n\t%s"%(child, msg.replace("\n", "\n\t")))
-		return error_messages
+    def get_error_messages(self):
+        """
+        Get the list of error messages from this element and all of its children.
+        Do not include the error messages from disabled children.
+        Cleverly indent the children error messages for printing purposes.
+        
+        Returns:
+            a list of error message strings
+        """
+        error_messages = list(self._error_messages) #make a copy
+        for child in filter(lambda c: c.get_enabled(), self.get_children()):
+            for msg in child.get_error_messages():
+                error_messages.append("%s:\n\t%s"%(child, msg.replace("\n", "\n\t")))
+        return error_messages
 
-	def rewrite(self):
-		"""
-		Rewrite this element and call rewrite on all children.
-		Call this base method before rewriting the element.
-		"""
-		for child in self.get_children(): child.rewrite()
+    def rewrite(self):
+        """
+        Rewrite this element and call rewrite on all children.
+        Call this base method before rewriting the element.
+        """
+        for child in self.get_children(): child.rewrite()
 
-	def get_enabled(self): return True
+    def get_enabled(self): return True
 
-	##############################################
-	## Tree-like API
-	##############################################
-	def get_parent(self): return self._parent
-	def get_children(self): return list()
+    ##############################################
+    ## Tree-like API
+    ##############################################
+    def get_parent(self): return self._parent
+    def get_children(self): return list()
 
-	##############################################
-	## Type testing methods
-	##############################################
-	def is_element(self): return True
-	def is_platform(self): return False
-	def is_flow_graph(self): return False
-	def is_connection(self): return False
-	def is_block(self): return False
-	def is_source(self): return False
-	def is_sink(self): return False
-	def is_port(self): return False
-	def is_param(self): return False
+    ##############################################
+    ## Type testing methods
+    ##############################################
+    def is_element(self): return True
+    def is_platform(self): return False
+    def is_flow_graph(self): return False
+    def is_connection(self): return False
+    def is_block(self): return False
+    def is_source(self): return False
+    def is_sink(self): return False
+    def is_port(self): return False
+    def is_param(self): return False
-- 
cgit v1.2.3