summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
authorNicholas McCarthy <namccart@gmail.com>2013-07-07 18:08:20 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-08 07:19:33 -0700
commitcd99526b5d1c8b1130ac1ba87e21f96c621b1bdc (patch)
tree12836648bf75868b17b04a2c3ead9c1b6fa2d4c5 /grc/gui/Utils.py
parent2dc1b6f2ed0cabd2bccbcc58487e93be4295df84 (diff)
grc: add bus ports
Bus ports allow ganging together of block input or output ports into a single display item for connection to other bus ports.
Diffstat (limited to 'grc/gui/Utils.py')
-rw-r--r--grc/gui/Utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/grc/gui/Utils.py b/grc/gui/Utils.py
index b68c19c4e1..407c875a87 100644
--- a/grc/gui/Utils.py
+++ b/grc/gui/Utils.py
@@ -101,4 +101,10 @@ def parse_template(tmpl_str, **kwargs):
a string of the parsed template
"""
kwargs['encode'] = gobject.markup_escape_text
+ #try:
+ # cat = str(Template(tmpl_str, kwargs))
+ #except TypeError:
+ # print 'guppy'
+ # print tmpl_str
+ # print str(kwargs['param'].get_error_messages())
return str(Template(tmpl_str, kwargs))