summaryrefslogtreecommitdiff
path: root/grc/python/convert_hier.py
diff options
context:
space:
mode:
authorJohnathan Corgan2012-09-28 10:30:00 -0700
committerJohnathan Corgan2012-09-28 10:30:00 -0700
commit9f72b877043cd6e5d8e7cee20c0e4390419a94b7 (patch)
tree6153cac52ba96f11ae756a104bbe9b7afd5a5d98 /grc/python/convert_hier.py
parent2d2afd3b387bd3426cc30239f679d48cefe9eb93 (diff)
parent515d1b6f91f5dd28997525b1e88006bbfc0f170a (diff)
downloadgnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.tar.gz
gnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.tar.bz2
gnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.zip
Merge branch 'master' into wip/gr-blocks-master
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)