summaryrefslogtreecommitdiff
path: root/grc/python/convert_hier.py
diff options
context:
space:
mode:
authorTom Rondeau2012-10-01 17:37:35 -0400
committerTom Rondeau2012-10-01 17:37:35 -0400
commitb31ea99bf07cb66f1dab3cea94f9f792f6cab2fc (patch)
tree452329e4e262b2da3b690d12493f1b44c8d84160 /grc/python/convert_hier.py
parent21b39825df56f0353f6f9e60f06c1ded38f9df81 (diff)
parent65ea256f8de15b7a23c602f9775edf0636b3732c (diff)
downloadgnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.tar.gz
gnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.tar.bz2
gnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'grc/python/convert_hier.py')
-rw-r--r--grc/python/convert_hier.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/python/convert_hier.py b/grc/python/convert_hier.py
index c6ca5b769..f4d082d59 100644
--- a/grc/python/convert_hier.py
+++ b/grc/python/convert_hier.py
@@ -73,6 +73,7 @@ def convert_hier(flow_graph, python_file):
block_n['source'].append(source_n)
#doc data
block_n['doc'] = "%s\n%s\n%s"%(block_author, block_desc, python_file)
+ block_n['grc_source'] = "%s"%(flow_graph.grc_file_path)
#write the block_n to file
xml_file = python_file + '.xml'
ParseXML.to_file({'block': block_n}, xml_file)