summaryrefslogtreecommitdiff
path: root/grc/src/platforms/base/Block.py
diff options
context:
space:
mode:
authorjblum2008-09-17 03:11:44 +0000
committerjblum2008-09-17 03:11:44 +0000
commita91336462fa381e6744240580c545b01537ddbec (patch)
treefb99adfaec09ca7d6418c8ad32fb53f7e3066809 /grc/src/platforms/base/Block.py
parente902750cc04f1d02d589b8237a181bed4c8f626c (diff)
downloadgnuradio-a91336462fa381e6744240580c545b01537ddbec.tar.gz
gnuradio-a91336462fa381e6744240580c545b01537ddbec.tar.bz2
gnuradio-a91336462fa381e6744240580c545b01537ddbec.zip
error message formatting
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9595 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/platforms/base/Block.py')
-rw-r--r--grc/src/platforms/base/Block.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/src/platforms/base/Block.py b/grc/src/platforms/base/Block.py
index e3ef84d94..cb350b7cb 100644
--- a/grc/src/platforms/base/Block.py
+++ b/grc/src/platforms/base/Block.py
@@ -146,11 +146,11 @@ class Block(Element):
All checks must evaluate to true.
"""
if not self.get_enabled(): return
- for c in self.get_params() + self.get_sinks() + self.get_sources():
+ for c in self.get_params() + self.get_sinks() + self.get_sources() + self.get_connections():
try: assert(c.is_valid())
except AssertionError:
for msg in c.get_error_messages():
- self._add_error_message('%s: %s'%(c, msg))
+ self._add_error_message('>>> %s:\n\t%s'%(c, msg))
def __str__(self): return 'Block - %s - %s(%s)'%(self.get_id(), self.get_name(), self.get_key())