summaryrefslogtreecommitdiff
path: root/grc/python/convert_hier.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-09-30 11:13:11 -0400
committerTom Rondeau <trondeau@vt.edu>2012-09-30 11:13:11 -0400
commit3283a40bef17d3b2579d8cfbd231dd384b27af41 (patch)
tree39aaf1cebc8ce27df3a7f35ebf4ecde37398d8e0 /grc/python/convert_hier.py
parent4cf68113aa79599b019ebad9e0b55349f6287c5e (diff)
parent35e508c6e9462191491ac2c2eae62e60b244d99c (diff)
Merge branch 'next' of gnuradio.org:gnuradio into next
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 c6ca5b7692..f4d082d596 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)