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/python/Connection.py | 47 +++++++++++++++++++++++------------------------
 1 file changed, 23 insertions(+), 24 deletions(-)

(limited to 'grc/python/Connection.py')

diff --git a/grc/python/Connection.py b/grc/python/Connection.py
index 97bf61d590..7f235b190b 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -24,27 +24,26 @@ from .. gui.Connection import Connection as _GUIConnection
 
 class Connection(_Connection, _GUIConnection):
 
-	def __init__(self, **kwargs):
-		_Connection.__init__(self, **kwargs)
-		_GUIConnection.__init__(self)
-
-	def is_msg(self):
-		return self.get_source().get_type() == self.get_sink().get_type() == 'msg'
-
-	def is_message(self):
-		return self.get_source().get_type() == self.get_sink().get_type() == 'message'
-	
-	def is_bus(self):
-		return self.get_source().get_type() == self.get_sink().get_type() == 'bus'
-	def validate(self):
-		"""
-		Validate the connections.
-		The ports must match in io size.
-		"""
-		Element.validate(self)
-		source_size = Constants.TYPE_TO_SIZEOF[self.get_source().get_type()] * self.get_source().get_vlen()
-		sink_size = Constants.TYPE_TO_SIZEOF[self.get_sink().get_type()] * self.get_sink().get_vlen()
-		if source_size != sink_size:
-			self.add_error_message('Source IO size "%s" does not match sink IO size "%s".'%(source_size, sink_size))
-
-	
+    def __init__(self, **kwargs):
+        _Connection.__init__(self, **kwargs)
+        _GUIConnection.__init__(self)
+
+    def is_msg(self):
+        return self.get_source().get_type() == self.get_sink().get_type() == 'msg'
+
+    def is_message(self):
+        return self.get_source().get_type() == self.get_sink().get_type() == 'message'
+
+    def is_bus(self):
+        return self.get_source().get_type() == self.get_sink().get_type() == 'bus'
+
+    def validate(self):
+        """
+        Validate the connections.
+        The ports must match in io size.
+        """
+        Element.validate(self)
+        source_size = Constants.TYPE_TO_SIZEOF[self.get_source().get_type()] * self.get_source().get_vlen()
+        sink_size = Constants.TYPE_TO_SIZEOF[self.get_sink().get_type()] * self.get_sink().get_vlen()
+        if source_size != sink_size:
+            self.add_error_message('Source IO size "%s" does not match sink IO size "%s".'%(source_size, sink_size))
-- 
cgit v1.2.3